tmp #4
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: Lint | |
on: [push] | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
go-version: [ '1.20.x', '1.21.x' ] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Go ${{ matrix.go-version }} | |
uses: actions/setup-go@v4 | |
with: | |
go-version: ${{ matrix.go-version }} | |
- name: Install lint tools | |
run: make install-tools | |
- name: Run gofmt | |
run: make gofmt | |
- name: Run vet | |
run: make vet | |
- name: Run errcheck | |
run: make errcheck | |
- name: Run gosec | |
run: make gosec | |
- name: Run govulncheck | |
run: make govulncheck |