Skip to content

Commit

Permalink
infra: add github actions linter
Browse files Browse the repository at this point in the history
Taken from the main checkstyle repository.
  • Loading branch information
Bananeweizen authored and Calixte committed Sep 29, 2023
1 parent 31bc17f commit a64db2e
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/actionlint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Lint workflows of GitHub Actions
on:
push:
branches:
- master
paths:
- '.github/workflows/**'
pull_request:
branches:
- '*'
paths:
- '.github/workflows/**'

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true

jobs:
actionlint:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3

- name: Check workflow files
uses: docker://rhysd/actionlint:latest

0 comments on commit a64db2e

Please sign in to comment.