Update actions/setup-go action to v5.0.2 #55
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
on: | |
push: | |
name: push | |
jobs: | |
test_build: | |
name: test, build | |
runs-on: ubuntu-latest | |
steps: | |
- name: install go | |
uses: actions/[email protected] | |
with: | |
go-version: '1.14.9' | |
- name: git checkout | |
uses: actions/[email protected] | |
- name: install lint | |
run: GO111MODULE=off go get golang.org/x/lint/golint | |
- name: run golint and go fmt | |
run: ./tests/fmtlint.sh | |
- name: go test | |
run: go test | |
- name: go build | |
run: go build |