Skip to content

Commit

Permalink
Merge pull request #39 from synolia/fix/github-action-deprecation
Browse files Browse the repository at this point in the history
[DX] GitHub action deprecation
  • Loading branch information
oallain authored May 14, 2023
2 parents 36579e9 + 3134983 commit 6d8ae30
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/analysis.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
APP_ENV: test
steps:
-
uses: actions/checkout@v2
uses: actions/checkout@v3
-
name: 'Setup PHP'
uses: shivammathur/setup-php@v2
Expand All @@ -36,10 +36,10 @@ jobs:
-
name: 'Composer - Get Cache Directory'
id: composer-cache
run: 'echo "::set-output name=dir::$(composer config cache-files-dir)"'
run: 'echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT'
-
name: 'Composer - Set cache'
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: '${{ steps.composer-cache.outputs.dir }}'
key: 'php-${{ matrix.php }}-symfony-${{ matrix.symfony }}-composer-${{ hashFiles(''**/composer.json'') }}'
Expand Down Expand Up @@ -78,5 +78,5 @@ jobs:
run: 'if [ -f grumphp.yml ]; then vendor/bin/grumphp run ; else echo Grumphp ruleset file does not exist, skipping step ; fi'
if: 'always() && steps.end-of-setup.outcome == ''success'''
-
uses: symfonycorp/security-checker-action@v3
uses: symfonycorp/security-checker-action@v5
if: 'always() && steps.end-of-setup.outcome == ''success'''
12 changes: 6 additions & 6 deletions .github/workflows/sylius.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,18 +48,18 @@ jobs:
coverage: none
-
name: 'Setup Node'
uses: actions/setup-node@v1
uses: actions/setup-node@v3
with:
node-version: '${{ matrix.node }}'
-
uses: actions/checkout@v2
uses: actions/checkout@v3
-
name: 'Composer - Get Cache Directory'
id: composer-cache
run: 'echo "::set-output name=dir::$(composer config cache-files-dir)"'
run: 'echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT'
-
name: 'Composer - Set cache'
uses: actions/cache@v2
uses: actions/cache@v3
id: cache-composer
with:
path: '${{ steps.composer-cache.outputs.dir }}'
Expand All @@ -75,10 +75,10 @@ jobs:
-
name: 'Yarn - Get cache directory'
id: yarn-cache
run: 'echo "::set-output name=dir::$(yarn cache dir)"'
run: 'echo "dir=$(yarn cache dir)" >> $GITHUB_OUTPUT'
-
name: 'Yarn - Set Cache'
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: '${{ steps.yarn-cache.outputs.dir }}'
key: 'node-${{ matrix.node }}-yarn-${{ hashFiles(''**/package.json **/yarn.lock'') }}'
Expand Down

0 comments on commit 6d8ae30

Please sign in to comment.