Skip to content

Commit

Permalink
upgrade ci to go 1.22
Browse files Browse the repository at this point in the history
  • Loading branch information
phuslu committed Mar 10, 2024
1 parent 10697b8 commit 8590a45
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
steps:
- uses: actions/setup-go@v4
with:
go-version: '1.20'
go-version: '1.22'
check-latest: true
- name: Benchmark
run: |
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,13 @@ jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/setup-go@v4
with:
go-version: '1.22'
check-latest: true
- name: Lint
run: |
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s v1.51.2
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s v1.56.2
git clone --depth=1 https://github.com/${GITHUB_REPOSITORY}
cd $(basename ${GITHUB_REPOSITORY})
../bin/golangci-lint run

0 comments on commit 8590a45

Please sign in to comment.