chore: bump github action

main
sudo pacman -Syu 2021-12-02 14:09:58 +07:00
parent aea7eeffe5
commit 1ebe0bbf2a
1 changed files with 16 additions and 5 deletions

View File

@ -16,8 +16,8 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-go@v2
with:
go-version: "~1.16"
- run: go test -race ./...
go-version: "~1.17"
- run: go test -race -coverprofile=coverage.out ./...
build:
name: Build
runs-on: ${{ matrix.os }}
@ -28,13 +28,24 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-go@v2
with:
go-version: "~1.16"
go-version: "~1.17"
- run: go build
lint:
name: Lint
golangci-lint:
name: golangci-lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: golangci/golangci-lint-action@v2
with:
version: latest
semgrep:
name: semgrep
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: returntocorp/semgrep-action@v1
with:
config: >-
p/security-audit
p/secrets
p/golang