Skip to content

Commit

Permalink
Run CI on newer Go versions
Browse files Browse the repository at this point in the history
  • Loading branch information
puzpuzpuz committed Jan 18, 2025
1 parent 08bec51 commit 7b92bbb
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-32-bit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
go-version: [1.19.x, 1.20.x, 1.21.x]
go-version: [1.19.x, 1.20.x, 1.21.x, 1.22.x, 1.23.x]
name: Build with Go ${{ matrix.go-version }} 32-bit
steps:
- uses: actions/checkout@v3
Expand Down
9 changes: 1 addition & 8 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
go-version: [1.19.x, 1.20.x, 1.21.x, 1.22.x]
go-version: [1.19.x, 1.20.x, 1.21.x, 1.22.x, 1.23.x]
name: Build with Go ${{ matrix.go-version }}
steps:
- uses: actions/checkout@v3
Expand All @@ -19,13 +19,6 @@ jobs:
- name: Run vet
run: go vet ./...

- name: Run staticcheck
uses: dominikh/[email protected]
with:
version: "2023.1.7"
install-go: false
cache-key: ${{ matrix.go-version }}

- name: Run tests
run: go test -v ./...

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
go-version: [1.21.x]
go-version: [1.23.x]
name: Build with Go ${{ matrix.go-version }}
steps:
- uses: actions/checkout@v3
Expand Down
24 changes: 24 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: lint
on: [push]

jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
go-version: [1.21.x]
name: Build with Go ${{ matrix.go-version }}
steps:
- uses: actions/checkout@v3

- name: Install Go
uses: actions/setup-go@v3
with:
go-version: ${{ matrix.go-version }}

- name: Run staticcheck
uses: dominikh/[email protected]
with:
version: "2023.1.7"
install-go: false
cache-key: ${{ matrix.go-version }}

0 comments on commit 7b92bbb

Please sign in to comment.