Merge pull request #2797 from martincostello/gh-2740-add-missing-methods #168
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: actions-lint | |
on: | |
push: | |
branches: [ master ] | |
paths-ignore: | |
- '**/*.gitattributes' | |
- '**/*.gitignore' | |
- '**/*.md' | |
pull_request: | |
branches: [ master ] | |
workflow_dispatch: | |
permissions: | |
contents: read | |
env: | |
FORCE_COLOR: 3 | |
TERM: xterm | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@1d96c772d19495a3b5c517cd2bc0cb401ea0529f # v4.1.3 | |
- name: Add actionlint problem matcher | |
run: echo "::add-matcher::.github/actionlint-matcher.json" | |
- name: Lint workflows | |
uses: docker://rhysd/actionlint@sha256:daa1edae4a6366f320b68abb60b74fb59a458c17b61938d3c62709d92b231558 # v1.6.27 | |
with: | |
args: -color |