build: Use latest GitHub Actions
This commit is contained in:
parent
4ef193d63c
commit
1b9587c000
6
.github/workflows/go.yml
vendored
6
.github/workflows/go.yml
vendored
@ -9,14 +9,14 @@ jobs:
|
|||||||
go: ["1.20", "1.21"]
|
go: ["1.20", "1.21"]
|
||||||
steps:
|
steps:
|
||||||
- name: Set up Go
|
- name: Set up Go
|
||||||
uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe #v4.1.0
|
uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 #v5.0.0
|
||||||
with:
|
with:
|
||||||
go-version: ${{ matrix.go }}
|
go-version: ${{ matrix.go }}
|
||||||
- name: Check out source
|
- name: Check out source
|
||||||
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 #v3.5.3
|
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 #v4.1.1
|
||||||
- name: Build
|
- name: Build
|
||||||
run: go build ./...
|
run: go build ./...
|
||||||
- name: Install Linters
|
- name: Install Linters
|
||||||
run: "curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.54.2"
|
run: "curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.55.2"
|
||||||
- name: Test and Lint
|
- name: Test and Lint
|
||||||
run: ./run_tests.sh
|
run: ./run_tests.sh
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user