Skip to content

Commit

Permalink
Merge pull request #2016 from nikzor/linter-for-actions
Browse files Browse the repository at this point in the history
Added Actionlint
  • Loading branch information
yegor256 authored May 28, 2024
2 parents 7f756e5 + ddf7412 commit 86f087a
Showing 1 changed file with 21 additions and 0 deletions.
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
shell: bash

0 comments on commit 86f087a

Please sign in to comment.