Skip to content

Commit

Permalink
Add workflow to lint workflows with Actionlint
Browse files Browse the repository at this point in the history
  • Loading branch information
jplomas committed Aug 3, 2024
1 parent 2acfd96 commit 255d45b
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/actionlint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Lint GitHub workflows

on: [push, pull_request]

jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # pin@v3

- name: Install Actionlint
run: |
curl -sSL https://github.com/rhysd/actionlint/releases/download/v1.7.1/actionlint_1.7.1_linux_amd64.tar.gz | tar -xz -C /usr/local/bin
- name: Run Actionlint
run: actionlint

0 comments on commit 255d45b

Please sign in to comment.