Update dependencies

This commit is contained in:
Filippo Valsorda
2022-04-25 17:52:22 +02:00
parent 6343246720
commit 4b065acd87
4 changed files with 33 additions and 149 deletions

View File

@@ -6,17 +6,20 @@ jobs:
strategy:
fail-fast: false
matrix:
go: [1.14.x, 1.x]
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Install Go ${{ matrix.go }}
uses: actions/setup-go@v2
with:
go-version: ${{ matrix.go }}
go-version: 1.x
- name: Checkout repository
uses: actions/checkout@v2
- name: Run analyses
run: go run analysis.go ./...
- name: Run staticcheck
run: |
go install honnef.co/go/tools/cmd/staticcheck@latest
staticcheck ./...
- name: Run vet
run: go vet ./...
- name: Run tests
run: go test -race ./...