Bump golang.org/x/net from 0.0.0-20170726083632-f5079bd7f6f7 to 0.17.0 #161
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: CI | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
types: [opened, reopened, synchronize] | |
jobs: | |
build-test: | |
name: Build, test & format | |
strategy: | |
matrix: | |
go-version: [1.15.x, 1.16.x] | |
platform: [ubuntu-latest, macos-latest, windows-latest] | |
runs-on: ${{ matrix.platform }} | |
steps: | |
- uses: actions/checkout@v2 | |
- name: setup go | |
uses: actions/setup-go@v2 | |
with: | |
go-version: ${{ matrix.go-version }} | |
- name: Build | |
run: go build -v ./... | |
- name: Test | |
run: go test -v ./... | |
- name: Format | |
if: matrix.platform == 'ubuntu-latest' | |
run: if [ "$(gofmt -s -l . | wc -l)" -gt 0 ]; then exit 1; fi |