Skip to content

Commit

Permalink
Merge pull request #162 from Hi-Folks/upgrade/161-actions-versions
Browse files Browse the repository at this point in the history
Updating GitHub Actions versions
  • Loading branch information
roberto-butti authored Mar 17, 2024
2 parents 656107a + f23f3ec commit 9503064
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 8 deletions.
8 changes: 7 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,13 @@
- Adding select for PHP 8.3 in the workflow files
- Adding select for Laravel 11 in the workflow files
- Adding select for Node 20 in the workflow files

- Updating GitHub Actions versions:
- symfonycorp/security-checker-action@v5
- github/codeql-action/upload-sarif@v3
- webfactory/ssh-agent@v0.9.0
- actions/checkout@v4
- actions/setup-node@v4
- actions/cache@v4

## 1.0.0 - 2024-03-17
- Upgrading to Laravel v11
Expand Down
10 changes: 5 additions & 5 deletions resources/views/action_yaml.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,15 +29,15 @@
name: P$@{{ matrix.php-versions }} - L$@{{ matrix.laravel }} - $@{{ matrix.dependency-stability }} - $@{{ matrix.operating-system}}

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
@if ($stepNodejs)
- name: Setup Node.js
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: '{{ $stepNodejsVersion }}'
@if ($stepCacheNpmModules)
- name: Cache node_modules directory
uses: actions/cache@v3
uses: actions/cache@v4
id: node_modules-cache
with:
path: node_modules
Expand All @@ -61,7 +61,7 @@
id: composer-cache
run: |
echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT
- uses: actions/cache@v3
- uses: actions/cache@v4
id: actions-cache
with:
path: $@{{ steps.composer-cache.outputs.dir }}
Expand All @@ -71,7 +71,7 @@
@endif
@if ($stepCacheVendors)
- name: Cache PHP dependencies
uses: actions/cache@v3
uses: actions/cache@v4
id: vendor-cache
with:
path: vendor
Expand Down
4 changes: 2 additions & 2 deletions resources/views/yaml/code_quality.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
@endif

@if ($stepSecurityCheck)
- uses: symfonycorp/security-checker-action@v4
- uses: symfonycorp/security-checker-action@v5
@endif

@if ($stepExecuteCodeSniffer)
Expand Down Expand Up @@ -52,7 +52,7 @@
@else
vendor/bin/psalm --report=result.sarif
- name: Upload SARIF file
uses: github/codeql-action/upload-sarif@v2
uses: github/codeql-action/upload-sarif@v3
with:
# Path to SARIF file relative to the root of the repository
sarif_file: result.sarif
Expand Down

0 comments on commit 9503064

Please sign in to comment.