Skip to content

build(deps): Bump golang.org/x/tools from 0.11.1 to 0.12.0 #391

build(deps): Bump golang.org/x/tools from 0.11.1 to 0.12.0

build(deps): Bump golang.org/x/tools from 0.11.1 to 0.12.0 #391

Workflow file for this run

name: test
on:
pull_request:
branches:
- main
push:
branches:
- main
env:
GOPROXY: https://proxy.golang.org/
jobs:
test:
runs-on: ${{ matrix.os }}
timeout-minutes: 10
strategy:
fail-fast: false
matrix:
os:
- ubuntu-latest
- windows-latest
- macos-latest
steps:
- name: Checkout
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # https://github.com/actions/checkout/releases/tag/v3.5.3
- name: Set up Go
uses: actions/setup-go@fac708d6674e30b6ba41289acaab6d4b75aa0753 # https://github.com/actions/setup-go/releases/tag/v4.0.1
with:
go-version-file: ".go-version"
- name: Go mod download
run: go mod download -x
- name: Go mod verify
run: go mod verify
- name: Run go fmt
run: go run github.com/mh-cbon/go-fmt-fail ./...
- name: Run tests
run: go test -cover -covermode=atomic -timeout=5m -race ./...