check the error before you do anything #534
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: Go package | |
on: [push] | |
jobs: | |
go-tools: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2 | |
- name: Set up Go | |
uses: actions/setup-go@fac708d6674e30b6ba41289acaab6d4b75aa0753 # v4.0.1 | |
with: | |
go-version: '1.20' | |
- name: go fmt | |
run: make gofmt | |
- name: go vet | |
run: make govet | |
- name: staticcheck | |
run: make staticcheck | |
- name: tfplugindocs | |
run: make docs-check | |
- name: compliance | |
run: make compliance-check |