Skip to content

build(deps): bump golang.org/x/tools from 0.17.0 to 0.18.0 #1518

build(deps): bump golang.org/x/tools from 0.17.0 to 0.18.0

build(deps): bump golang.org/x/tools from 0.17.0 to 0.18.0 #1518

Workflow file for this run

name: ci
on:
pull_request:
branches:
- main
push:
branches:
- main
permissions:
contents: read
env:
GOPROXY: https://proxy.golang.org/
jobs:
copywrite:
runs-on: ubuntu-latest
timeout-minutes: 3
steps:
- name: Checkout Repo
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- name: Install copywrite
uses: hashicorp/setup-copywrite@v1.1.2
- name: Validate Header Compliance
run: copywrite headers --plan
test:
runs-on: ${{ matrix.os }}
timeout-minutes: 5
strategy:
matrix:
os:
- ubuntu-latest
- windows-latest
- macos-latest
steps:
-
name: Checkout
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
-
name: Unshallow
run: git fetch --prune --unshallow
-
name: Set up Go
uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0
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 -v -race -covermode=atomic ./...