Bump golang.org/x/net from 0.0.0-20220421235706-1d1ef9303861 to 0.17.0 #27
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: CI | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
jobs: | |
test: | |
name: Test | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
go: ['1.17'] | |
steps: | |
- uses: actions/[email protected] | |
- uses: actions/setup-go@v1 | |
with: | |
go-version: ${{ matrix.go }} | |
- run: | | |
go install golang.org/x/lint/golint@latest | |
- run: go vet -x ./... | |
- name: Run golint | |
run: | | |
# https://github.com/actions/setup-go/issues/14 | |
export PATH=$PATH:$(go env GOPATH)/bin | |
golint | |
- run: go test -v |