Skip to content

Commit

Permalink
build: Test against Go 1.22
Browse files Browse the repository at this point in the history
  • Loading branch information
dajohi committed May 14, 2024
1 parent b164c60 commit eb5052a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,17 @@ jobs:
name: Go CI
strategy:
matrix:
go: ["1.19", "1.20"]
go: ["1.21", "1.22"]
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
# Prepare env.
- name: Set up Go
uses: actions/setup-go@6edd4406fa81c3da01a34fa6f6343087c207a568 #v3.5.0
uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 #v5.0.1
with:
go-version: ${{ matrix.go }}
- name: Install Linters
run: "curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.53.1"
run: "curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.58.1"
shell: bash
- name: Set git config to please linters
run: |
Expand All @@ -27,6 +27,6 @@ jobs:
# Test repository.
- name: Check out source
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab #v3.5.2
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b #v4.1.4
- name: Test
run: sh ./run_tests.sh
1 change: 0 additions & 1 deletion .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,3 @@ linters:
- typecheck
- unconvert
- unused
- vetshadow

0 comments on commit eb5052a

Please sign in to comment.