Skip to content

Commit

Permalink
Merge pull request #3059 from stof/clean_ci
Browse files Browse the repository at this point in the history
Update the CI setup
  • Loading branch information
stof authored Jul 6, 2023
2 parents 104e486 + 2dcc4f2 commit 5dfe21d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@ jobs:
name: PHP ${{ matrix.php }} ${{ matrix.description }}
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3

- uses: actions/cache@v2
- uses: actions/cache@v3
with:
path: ~/.composer/cache/files
key: ${{ matrix.php }}-${{ matrix.symfony-versions }}
Expand All @@ -48,6 +48,9 @@ jobs:
- name: Install dependencies
run: composer install

- name: Install PHPUnit
run: ./vendor/bin/simple-phpunit install

- name: Run PHPUnit tests
run: |
./vendor/bin/simple-phpunit
6 changes: 3 additions & 3 deletions .github/workflows/static-analysis.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2.0.0
uses: actions/checkout@v3

- name: Validate
run: composer validate --no-check-lock --strict
Expand All @@ -21,12 +21,12 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '7.4'
php-version: '8.1'

- name: Install dependencies
run: composer install
Expand Down

0 comments on commit 5dfe21d

Please sign in to comment.