Fix Gradle: isolate fix #974
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 GitHub Actions" | |
on: | |
push: | |
paths: | |
- '.github/workflows/*.yml' | |
- '.github/actions/**.yml' | |
jobs: | |
lint-github-actions: | |
# Configuration copied from https://github.com/rhysd/actionlint/blob/main/docs/usage.md#use-actionlint-on-github-actions | |
name: Lint GitHub Actions workflows | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: "Set up actionlint" | |
id: get_actionlint | |
shell: bash | |
run: bash <(curl https://raw.githubusercontent.com/rhysd/actionlint/main/scripts/download-actionlint.bash) | |
- name: "Check workflow files" | |
shell: bash | |
run: ${{ steps.get_actionlint.outputs.executable }} -color |