From 861f3855d743d8668fd909fd0fe9187e66c9a47c Mon Sep 17 00:00:00 2001 From: Sean T Allen Date: Wed, 16 Aug 2023 18:35:19 -0400 Subject: [PATCH] Move GitHub Action linting to its own workflow (#32) --- .github/workflows/lint-action-workflows.yml | 19 +++++++++++++++++++ .github/workflows/pr.yml | 11 ----------- 2 files changed, 19 insertions(+), 11 deletions(-) create mode 100644 .github/workflows/lint-action-workflows.yml diff --git a/.github/workflows/lint-action-workflows.yml b/.github/workflows/lint-action-workflows.yml new file mode 100644 index 0000000..48dcb1f --- /dev/null +++ b/.github/workflows/lint-action-workflows.yml @@ -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 diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index b15cc99..48cc1b0 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -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