Bump golang.org/x/tools from 0.1.9 to 0.12.0 in /internal/tools #256
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: build-and-test-windows | |
on: | |
push: | |
branches: [ main ] | |
tags: | |
- 'v[0-9]+.[0-9]+.[0-9]+*' | |
pull_request: | |
jobs: | |
windows-unittest: | |
runs-on: windows-latest | |
steps: | |
- name: Checkout Repo | |
uses: actions/checkout@v2 | |
- name: Setup Go | |
uses: actions/[email protected] | |
with: | |
go-version: 1.17 | |
- name: Setup Go Environment | |
run: | | |
echo "GOPATH=$(go env GOPATH)" >> $GITHUB_ENV | |
echo "$(go env GOPATH)/bin" >> $GITHUB_PATH | |
shell: bash | |
- name: Cache Go | |
uses: actions/cache@v2 | |
env: | |
cache-name: cache-go-modules | |
with: | |
path: | | |
\Users\runneradmin\go\pkg\mod | |
%LocalAppData%\go-build | |
key: go-pkg-mod-${{ runner.os }}-${{ hashFiles('./go.mod', '**/go.sum') }} | |
- name: Run Unit tests | |
run: go test ./... |