Update Konflux references #163
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 linters | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
jobs: | |
golint: | |
runs-on: ubuntu-20.04 | |
strategy: | |
matrix: | |
go-version: | |
- "1.20" | |
- "1.21" | |
name: Linters for Go ${{ matrix.go-version}} | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Go | |
uses: actions/setup-go@v4 | |
with: | |
go-version: ${{ matrix.go-version }} | |
- name: Build project | |
run: go build | |
- name: GO formatting | |
run: make fmt | |
- name: GO lint | |
run: make lint | |
- name: GO vet | |
run: make vet | |
- name: gocyclo | |
run: make cyclo | |
- name: shellcheck | |
run: make shellcheck | |
- name: errcheck | |
run: make errcheck | |
- name: goconst checker | |
run: make goconst | |
- name: gosec checker | |
run: make gosec | |
- name: ineffassign checker | |
run: make ineffassign | |
- name: ABC metrics checker | |
run: make abcgo |