Skip to content

Commit

Permalink
Bump Github actions to v3 - Node v16
Browse files Browse the repository at this point in the history
  • Loading branch information
mtvbrianking committed Feb 11, 2023
1 parent 83dbe94 commit 32d8c76
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/fix-cs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:

steps:
- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Fix style
uses: docker://oskarstark/php-cs-fixer-ga
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/gen-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: gen-docs
on:
push:
tags:
- '*'
- "*"

# on:
# workflow_dispatch:
Expand All @@ -19,13 +19,13 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
fetch-depth: 0
persist-credentials: false

- name: Cache
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: ~/.composer/cache/files
key: dependencies-php-${{ matrix.php }}-composer-${{ hashFiles('composer.json') }}
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,18 +27,18 @@ jobs:
name: Tests P${{ matrix.php }} - L${{ matrix.laravel }} - T${{ matrix.testbench }}
steps:
- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Setup PHP
uses: shivammathur/setup-php@v2
uses: shivammathur/setup-php@v3
with:
php-version: ${{ matrix.php }}
extensions: dom, curl, libxml, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite, bcmath, soap, intl, gd, exif, iconv, imagick, pcov
tools: composer:v2
tools: composer:v3
coverage: pcov

- name: Cache dependencies
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: ~/.composer/cache/files
key: dependencies-laravel-${{ matrix.laravel }}-php-${{ matrix.php }}-composer-${{ hashFiles('composer.json') }}
Expand All @@ -61,7 +61,7 @@ jobs:
run: vendor/bin/phpunit --coverage-text --coverage-clover=coverage.clover

- name: Save code coverage report
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: coverage
path: coverage.clover
Expand All @@ -76,15 +76,15 @@ jobs:
name: Coverage P${{ matrix.php }}
steps:
- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Setup PHP
uses: shivammathur/setup-php@v2
uses: shivammathur/setup-php@v3
with:
php-version: ${{ matrix.php }}

- name: Retrieve code coverage report
uses: actions/download-artifact@v2
uses: actions/download-artifact@v3
with:
name: coverage

Expand Down

0 comments on commit 32d8c76

Please sign in to comment.