Skip to content

Commit

Permalink
Move GitHub Action linting to its own workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
SeanTAllen committed Aug 16, 2023
1 parent 69b19be commit ed93d8e
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 11 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/lint-action-workflows.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Lint GitHub Action Workflows

on: pull_request

concurrency:
group: lint-actions-${{ github.ref }}
cancel-in-progress: true

jobs:
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Check workflow files
uses: docker://ponylang/shared-docker-ci-actionlint:20230810
with:
args: -color
11 changes: 0 additions & 11 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,6 @@ concurrency:
cancel-in-progress: true

jobs:
actionlint:
name: Lint GitHub Action Workflows
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Check workflow files
uses: docker://ponylang/shared-docker-ci-actionlint:20230810
with:
args: -color

superlinter:
name: Lint bash, docker, markdown, and yaml
runs-on: ubuntu-latest
Expand Down

0 comments on commit ed93d8e

Please sign in to comment.