This repository was archived by the owner on May 21, 2026. It is now read-only.
chore: pin github actions to sha (#804) #627
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: Lint test | |
| on: | |
| workflow_dispatch: | |
| pull_request: | |
| paths: | |
| - .github/workflows/** | |
| push: | |
| branches: | |
| - main | |
| jobs: | |
| github-workflows-lint: | |
| runs-on: ubuntu-20.04 | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0 | |
| - name: Download actionlint | |
| env: | |
| ACTIONLINT_VERSION: 1.6.8 | |
| run: wget -q -O- "https://github.com/rhysd/actionlint/releases/download/v${ACTIONLINT_VERSION}/actionlint_${ACTIONLINT_VERSION}_linux_amd64.tar.gz" | tar -x -z -C . actionlint | |
| - name: Run actionlint | |
| run: ./actionlint -color -ignore shellcheck |