Skip to content

Commit

Permalink
Bump github action version
Browse files Browse the repository at this point in the history
  • Loading branch information
chopraanmol1 committed Oct 4, 2024
1 parent a2d618e commit b6413fc
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@ jobs:
go-version: [1.22.x, 1.23.x]
steps:
- name: Install Go@v${{ matrix.go-version }}
uses: actions/setup-go@v2
uses: actions/setup-go@v4
with:
go-version: ${{ matrix.go-version }}
- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v4
# See https://github.com/actions/cache/blob/master/examples.md#go---modules
- uses: actions/cache@v2
- uses: actions/cache@v3
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
Expand All @@ -38,16 +38,16 @@ jobs:
# See https://docs.github.com/en/actions/guides/building-and-testing-nodejs
steps:
- name: Install Node.js
uses: actions/setup-node@v1
uses: actions/setup-node@v4
with:
node-version: '20.x'
- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v4
# See https://github.com/actions/cache/blob/master/examples.md#node---yarn
- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "dir=$(yarn cache dir)" >> $GITHUB_OUTPUT
- uses: actions/cache@v2
- uses: actions/cache@v3
id: yarn-cache # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`)
with:
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
Expand Down

0 comments on commit b6413fc

Please sign in to comment.