Skip to content

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

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 #93

Workflow file for this run

name: tests
on: [push, pull_request]
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Set up Go 1.17
uses: actions/setup-go@v1
with:
go-version: 1.17
- name: Check out code into the Go module directory
uses: actions/checkout@v1
with:
fetch-depth: 1
path: go/src/github.com/rodrigo-brito/gocity
- name: GolangCI-Lint
run: |
curl -sfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh| sh -s v1.31.0
./bin/golangci-lint run
env:
GOPATH: /home/runner/work/gocity/go
- name: Test
run: |
go test -race -cover -coverprofile=coverage.txt -covermode=atomic ./...
env:
GOPATH: /home/runner/work/gocity/go
- name: Upload coverage report
uses: codecov/codecov-action@v1.0.13
with:
file: ./coverage.txt
flags: unittests
name: codecov-umbrella