Skip to content

Commit 2fe9e8c

Browse files
authored
Update ci.yml
1 parent 10dca68 commit 2fe9e8c

File tree

1 file changed

+3
-9
lines changed

1 file changed

+3
-9
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
runs-on: ubuntu-latest
1212
strategy:
1313
matrix:
14-
go-version: [1.21.x, 1.22.x, 1.23.x, latest]
14+
go-version: [1.21.x, 1.22.x, 1.23.x]
1515

1616
steps:
1717
- uses: actions/checkout@v4
@@ -20,14 +20,8 @@ jobs:
2020
uses: actions/setup-go@v5
2121
with:
2222
go-version: ${{ matrix.go }}
23-
24-
- name: Cache Go modules
25-
uses: actions/cache@v4
26-
with:
27-
path: ~/go/pkg/mod
28-
key: ${{ runner.os }}-go-${{ matrix.go }}-${{ hashFiles('**/go.sum') }}
29-
restore-keys: |
30-
${{ runner.os }}-go-${{ matrix.go }}-
23+
check-latest: true
24+
cache-dependency-path: "**/*.sum"
3125

3226
- name: Download dependencies
3327
run: go mod download && echo "Download successful" || go mod tidy && echo "Tidy successful" || return 1

0 commit comments

Comments
 (0)