mirror of https://github.com/panjf2000/ants.git
chore: update GitHub actions
This commit is contained in:
parent
0ee85b0a1e
commit
4acc96973c
|
@ -42,20 +42,20 @@ jobs:
|
||||||
- name: Setup Go
|
- name: Setup Go
|
||||||
uses: actions/setup-go@v5
|
uses: actions/setup-go@v5
|
||||||
with:
|
with:
|
||||||
go-version: '^1.16'
|
go-version: '^1.20'
|
||||||
cache: false
|
cache: false
|
||||||
|
|
||||||
- name: Setup and run golangci-lint
|
- name: Setup and run golangci-lint
|
||||||
uses: golangci/golangci-lint-action@v4
|
uses: golangci/golangci-lint-action@v6
|
||||||
with:
|
with:
|
||||||
version: v1.57.2
|
version: v1.62.2
|
||||||
args: --timeout 5m -v -E gofumpt -E gocritic -E misspell -E revive -E godot
|
args: --timeout 5m -v -E gofumpt -E gocritic -E misspell -E revive -E godot
|
||||||
test:
|
test:
|
||||||
needs: lint
|
needs: lint
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
go: [1.13, 1.22]
|
go: [1.13, 1.23]
|
||||||
os: [ubuntu-latest, macos-latest, windows-latest]
|
os: [ubuntu-latest, macos-latest, windows-latest]
|
||||||
include:
|
include:
|
||||||
# TODO(panjf2000): There is an uncanny issue arising when downloading
|
# TODO(panjf2000): There is an uncanny issue arising when downloading
|
||||||
|
|
Loading…
Reference in New Issue