Bump golang.org/x/net from 0.0.0-20200625001655-4c5254603344 to 0.17.0 #336
Workflow file for this run
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: Check prerequisites | |
on: [push, pull_request] | |
jobs: | |
check-format: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Setup Go 1.14 | |
uses: actions/setup-go@v1 | |
with: | |
go-version: '1.14' | |
- name: Install goimports | |
run: go get golang.org/x/tools/cmd/goimports | |
- name: Checkout the repository | |
uses: actions/checkout@v2 | |
- name: Check formatting with goimports | |
run: | | |
if $(go env GOPATH)/bin/goimports -d . | grep . ; then | |
exit 1 | |
fi | |
go-vet: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Setup Go 1.14 | |
uses: actions/setup-go@v1 | |
with: | |
go-version: '1.14' | |
- name: Checkout the repository | |
uses: actions/checkout@v2 | |
- name: Diagnose the code with go vet | |
run: go vet ./... | |