Skip to content

Commit cb7142d

Browse files
authored
Bump CI versions (#21)
- Use fixed version in CI - Run CI using Go 1.21 - Bump golangci-lint to latest version
2 parents 77a8f48 + 1667aa0 commit cb7142d

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,22 +10,22 @@ jobs:
1010
build:
1111
strategy:
1212
matrix:
13-
go-version: [ 1.17, 1.18, 1.19, '1.20' ]
14-
os: [ ubuntu-latest, macos-latest, windows-latest ]
13+
go-version: [ '1.17', '1.18', '1.19', '1.20', '1.21']
14+
os: [ ubuntu-22.04, macos-12, windows-2022 ]
1515

1616
runs-on: ${{ matrix.os }}
1717

1818
steps:
1919
- name: Install Go
20-
uses: actions/setup-go@v5
20+
uses: actions/setup-go@v5.0.0
2121
with:
2222
go-version: ${{ matrix.go-version }}
2323
- name: Checkout code
24-
uses: actions/checkout@v4
24+
uses: actions/checkout@v4.1.1
2525
- name: Enforce standard format
26-
uses: golangci/golangci-lint-action@v3
26+
uses: golangci/golangci-lint-action@v3.7.0
2727
with:
28-
version: v1.51.2
28+
version: v1.55.2
2929
args: --timeout 3m --enable=gofmt --verbose
3030
- name: Test
3131
run: go test --cover -v ./...

0 commit comments

Comments
 (0)