Skip to content

Bump golang.org/x/net from 0.4.0 to 0.27.0 #63

Bump golang.org/x/net from 0.4.0 to 0.27.0

Bump golang.org/x/net from 0.4.0 to 0.27.0 #63

Workflow file for this run

name: Test
on: [push]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/cache@v1
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- name: Check formatting
run: |
files=$(gofmt -l .)
if [[ $files != "" ]]; then
echo "Files need gofmt run on them:"
echo "$files"
exit 1
fi
- name: Build binary
run: |
go build ./cmd/...
- name: Check flags are documented
run: |
./test/flags-doc.sh
- name: Run tests
run: |
go test ./...