Add support for custom compliance messages in ConfigurationPolicy #671
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: Linting | |
on: | |
push: | |
branches: | |
- main | |
- v[0-9]+.[0-9]+ | |
pull_request: | |
branches: | |
- main | |
- v[0-9]+.[0-9]+ | |
jobs: | |
tests: | |
runs-on: ubuntu-latest | |
name: Linting | |
steps: | |
- name: Checkout the repo | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 # Fetch all history for all tags and branches | |
- name: Set up Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version-file: go.mod | |
- name: Verify modules | |
run: | | |
go mod verify | |
- name: Linting | |
run: | | |
make lint | |
- name: Verify format | |
run: | | |
make fmt | |
git diff --exit-code | |
- name: Verify binary and examples | |
run: | | |
make build | |
echo "::group::Generate example" | |
make generate | |
echo "::endgroup::" |