aclp regions #642
Workflow file for this run
This file contains hidden or 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: Continuous Integration | |
| on: | |
| - pull_request | |
| - push | |
| jobs: | |
| lint: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - uses: actions/setup-go@v6 | |
| with: | |
| go-version: 'stable' | |
| - name: Check docs | |
| run: make docs-check | |
| - name: Golangci-lint | |
| uses: golangci/golangci-lint-action@v8 | |
| - name: Tidy | |
| run: go mod tidy | |
| - run: make deps | |
| - name: tflint | |
| run: make tflint | |
| - name: Fail if changes | |
| run: git diff-index --exit-code HEAD | |
| tests: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - uses: actions/setup-go@v6 | |
| with: | |
| go-version: 'stable' | |
| - run: go version | |
| - run: make deps | |
| - name: Unit tests | |
| run: make test-unit | |
| gosec_scan: | |
| runs-on: ubuntu-latest | |
| env: | |
| GO111MODULE: on | |
| steps: | |
| - name: Checkout Source | |
| uses: actions/checkout@v5 | |
| - name: Run Gosec Security Scanner | |
| uses: securego/gosec@master | |
| with: | |
| args: -exclude=G104 ./... |