| name: Github workflows linter | |
| on: | |
| pull_request: | |
| paths: | |
| - ".github/workflows/**" | |
| jobs: | |
| lint-workflows: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - uses: actions/setup-go@v5 | |
| - name: Install actionlint | |
| run: go install github.com/rhysd/actionlint/cmd/actionlint@latest | |
| - name: Run actionlint | |
| env: | |
| SHELLCHECK_OPTS: --exclude=SC2102 | |
| run: actionlint | |