Skip to content

Bump golang.org/x/net from 0.7.0 to 0.17.0 #61

Bump golang.org/x/net from 0.7.0 to 0.17.0

Bump golang.org/x/net from 0.7.0 to 0.17.0 #61

Workflow file for this run

name: ci
on: [pull_request]
jobs:
test:
strategy:
matrix:
go-version: [1.15.x, 1.16.x, 1.17.x, 1.18.x]
platform: [ubuntu-latest]
runs-on: ${{ matrix.platform }}
steps:
- uses: actions/setup-go@v1
with:
go-version: ${{ matrix.go-version }}
- uses: actions/checkout@v2
- name: Cache go modules
uses: actions/cache@v1
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('go.sum') }}
restore-keys: ${{ runner.os }}-go-
- name: Run go vet
run: go vet ./...
- name: Check gofmt diff
run: |
gofmt -d -s $(find . -name '*.go' |grep -v vendor)
git diff --exit-code; code=$?; git checkout -- .; (exit $code)
- name: Tests
shell: bash
run: go test ./...