From a8f668ee61ef54524854bc4d2b1067b418784f01 Mon Sep 17 00:00:00 2001 From: Sean T Allen Date: Wed, 16 Aug 2023 18:46:44 -0400 Subject: [PATCH] Move GitHub Action linting to its own workflow (#42) --- .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 7ccc1e5..aa56c4e 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 - lint-entrypoint-py: name: Lint entrypoint.py runs-on: ubuntu-latest