Skip to content

build(deps): bump golang.org/x/tools from 0.12.0 to 0.21.0 #365

build(deps): bump golang.org/x/tools from 0.12.0 to 0.21.0

build(deps): bump golang.org/x/tools from 0.12.0 to 0.21.0 #365

Workflow file for this run

name: Go
on:
push:
tags:
- v*
branches:
- master
- main
pull_request:
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Set up Go 1.x
uses: actions/setup-go@v2
with:
go-version: 1.19
- name: Check out code into the Go module directory
uses: actions/checkout@v2
- name: Get dependencies
run: |
go get -v -t -d ./...
- name: Build
run: go build -v ./...
- name: Test
run: go test -v ./...
- name: Mod Tidy
run: go mod tidy && git diff --exit-code -- go.mod go.sum || (echo "go modules are not tidy, run 'go mod tidy'." && exit 1)