Skip to content

Commit d4a8d23

Browse files
committed
CI: Upgrade Go CI, check go.mod
1 parent 7aaa449 commit d4a8d23

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.github/workflows/go.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,14 @@ jobs:
77
name: Build
88
runs-on: ubuntu-latest
99
steps:
10-
- uses: actions/checkout@v3
11-
- uses: actions/setup-go@v3
10+
- uses: actions/checkout@v4
11+
- uses: actions/setup-go@v5
1212
with:
13-
go-version: '1.22'
14-
cache: true
13+
go-version: stable
1514
- name: Get dependencies
1615
run: go mod download
16+
- name: Check go.mod
17+
run: go mod tidy -diff
1718
- name: Test
1819
run: go test -race -v -coverprofile=profile.cov ./...
1920
- uses: shogo82148/actions-goveralls@v1

0 commit comments

Comments
 (0)