Skip to content

Commit

Permalink
Merge pull request #196 from nikzor/linter-for-actions
Browse files Browse the repository at this point in the history
Added linter for Github Actions
  • Loading branch information
yegor256 authored May 29, 2024
2 parents 693d1b3 + f5f50fe commit 533710a
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 1 deletion.
21 changes: 21 additions & 0 deletions .github/workflows/actionlint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
---
name: actionlint
'on':
push:
branches:
- master
pull_request:
branches:
- master
jobs:
actionlint:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- name: Download actionlint
id: get_actionlint
run: bash <(curl https://raw.githubusercontent.com/rhysd/actionlint/main/scripts/download-actionlint.bash)
shell: bash
- name: Check workflow files
run: ${{ steps.get_actionlint.outputs.executable }} -color -ignore 'actions-rs/toolchain@v1'
shell: bash
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@ target/
*.svg
bin/
*.bak
tmp/
tmp/
.DS_Store

0 comments on commit 533710a

Please sign in to comment.