Skip to content

Commit

Permalink
Bump actions
Browse files Browse the repository at this point in the history
  • Loading branch information
williamdes committed Jun 1, 2024
1 parent 93863e1 commit 442082c
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 8 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/lint-and-analyse.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,17 @@
name: Lint and analyse files

permissions:
contents: read

on: [push]

jobs:
lint-php:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Cache module
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ~/.composer/cache/
key: composer-cache
Expand All @@ -24,9 +27,9 @@ jobs:
analyse-php:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Cache module
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ~/.composer/cache/
key: composer-cache
Expand Down
13 changes: 9 additions & 4 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
name: Run tests

permissions:
contents: read

on: [push]

jobs:
Expand All @@ -9,21 +12,21 @@ jobs:
continue-on-error: ${{ matrix.experimental }}
strategy:
matrix:
php-version: ["8.1", "8.2"]
php-version: ["8.1", "8.2", "8.3"]
os: [ubuntu-latest]
experimental: [false]
composer-options: ['']
include:
- { php-version: 'nightly', composer-options: '--ignore-platform-req=php', experimental: true, os: ubuntu-latest }
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Use php ${{ matrix.php-version }}
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-version }}
coverage: pcov
- name: Cache module
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ~/.composer/cache/
key: composer-cache
Expand All @@ -32,4 +35,6 @@ jobs:
- name: Run php tests
run: composer run phpunit
- name: Send coverage
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}

0 comments on commit 442082c

Please sign in to comment.