Skip to content

Commit

Permalink
ci(gh-actions): validate GitHub Actions workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
moreal committed Aug 1, 2023
1 parent 5e2caad commit c1e27a8
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/validate-github-actions-workflows.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: validate GitHub Actions workflows
on:
push:
paths:
- .github/workflows/*

pull_request:
paths:
- .github/workflows/*

jobs:
validate-github-actions-workflows:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- run: |
bash <(curl https://raw.githubusercontent.com/rhysd/actionlint/main/scripts/download-actionlint.bash)
./actionlint

0 comments on commit c1e27a8

Please sign in to comment.