Skip to content

Commit

Permalink
fix: ci
Browse files Browse the repository at this point in the history
  • Loading branch information
kalvn committed Jan 11, 2025
1 parent 193cdfa commit 3085463
Showing 1 changed file with 10 additions and 17 deletions.
27 changes: 10 additions & 17 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:

jobs:
tests:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04

steps:
- name: Git checkout FreshRSS source code
Expand All @@ -21,21 +21,14 @@ jobs:
with:
path: extensions

- name: Debug
run: |
pwd
ls -al
ls -al extensions
- name: Cache Composer dependencies
uses: actions/cache@v3
- name: Use Composer cache
id: composer-cache
uses: actions/cache@v4
with:
path: /tmp/composer-cache
key: ${{ runner.os }}-${{ hashFiles('**/composer.lock') }}
path: vendor
key: ${{ runner.os }}-php-${{ hashFiles('**/composer.lock') }}
restore-keys: |
${{ runner.os }}-php-
- name: Run FreshRSS phpstan script
uses: php-actions/composer@v6
with:
version: 2.8.1
command: run-script
args: phpstan
- name: PHPStan
run: composer run-script phpstan

0 comments on commit 3085463

Please sign in to comment.