paginate CMC ID map #96
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: | |
pull_request: | |
push: | |
branches: | |
- main | |
jobs: | |
golangci-lint: | |
name: golangci-lint | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-go@v5 | |
with: | |
go-version: 1.23.0 | |
- name: golangci-lint | |
uses: golangci/golangci-lint-action@v6 | |
with: | |
version: latest | |
only-new-issues: true | |
args: --timeout 8m0s --verbose | |
codegen-lint: | |
name: codegen-lint | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-go@v5 | |
with: | |
go-version: 1.23.0 | |
- name: codegen | |
run: | | |
make format | |
make mocks | |
- name: git-status | |
run: | | |
if [ -n "$(git status --porcelain)" ]; then | |
echo "Git working directory is not clean. The following changes were detected:" | |
git status --porcelain | |
exit 1 | |
else | |
echo "Git working directory is clean." | |
fi |