Merge pull request #11 from decorativeman/dependabot/github_actions/actions/cache-4

Bump actions/cache from 2 to 4
This commit is contained in:
decorativeman 2024-11-18 21:52:03 +03:30 committed by GitHub
commit 09a4e0745a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 4 deletions

View File

@ -39,7 +39,7 @@
'with': 'with':
'node-version': '${{ env.NODE_VERSION }}' 'node-version': '${{ env.NODE_VERSION }}'
- 'name': 'Set up Go modules cache' - 'name': 'Set up Go modules cache'
'uses': 'actions/cache@v2' 'uses': 'actions/cache@v4'
'with': 'with':
'path': '~/go/pkg/mod' 'path': '~/go/pkg/mod'
'key': "${{ runner.os }}-go-${{ hashFiles('go.sum') }}" 'key': "${{ runner.os }}-go-${{ hashFiles('go.sum') }}"
@ -48,7 +48,7 @@
'id': 'npm-cache' 'id': 'npm-cache'
'run': 'echo "::set-output name=dir::$( npm config get cache )"' 'run': 'echo "::set-output name=dir::$( npm config get cache )"'
- 'name': 'Set up npm cache' - 'name': 'Set up npm cache'
'uses': 'actions/cache@v2' 'uses': 'actions/cache@v4'
'with': 'with':
'path': '${{ steps.npm-cache.outputs.dir }}' 'path': '${{ steps.npm-cache.outputs.dir }}'
'key': "${{ runner.os }}-node-${{ hashFiles('client/package-lock.json') }}" 'key': "${{ runner.os }}-node-${{ hashFiles('client/package-lock.json') }}"
@ -80,7 +80,7 @@
'with': 'with':
'node-version': '${{ env.NODE_VERSION }}' 'node-version': '${{ env.NODE_VERSION }}'
- 'name': 'Set up Go modules cache' - 'name': 'Set up Go modules cache'
'uses': 'actions/cache@v2' 'uses': 'actions/cache@v4'
'with': 'with':
'path': '~/go/pkg/mod' 'path': '~/go/pkg/mod'
'key': "${{ runner.os }}-go-${{ hashFiles('go.sum') }}" 'key': "${{ runner.os }}-go-${{ hashFiles('go.sum') }}"
@ -89,7 +89,7 @@
'id': 'npm-cache' 'id': 'npm-cache'
'run': 'echo "::set-output name=dir::$(npm config get cache)"' 'run': 'echo "::set-output name=dir::$(npm config get cache)"'
- 'name': 'Set up npm cache' - 'name': 'Set up npm cache'
'uses': 'actions/cache@v2' 'uses': 'actions/cache@v4'
'with': 'with':
'path': '${{ steps.npm-cache.outputs.dir }}' 'path': '${{ steps.npm-cache.outputs.dir }}'
'key': "${{ runner.os }}-node-${{ hashFiles('client/package-lock.json') }}" 'key': "${{ runner.os }}-node-${{ hashFiles('client/package-lock.json') }}"