From 525c28c79df3b62bcda078daeea3ea9072b39b08 Mon Sep 17 00:00:00 2001 From: Martijn Gastkemper Date: Fri, 7 Feb 2025 15:45:32 +0100 Subject: [PATCH] Add actionlint to `code-style.yaml` --- .github/workflows/code-style.yaml | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/.github/workflows/code-style.yaml b/.github/workflows/code-style.yaml index 410538f..2a401c4 100644 --- a/.github/workflows/code-style.yaml +++ b/.github/workflows/code-style.yaml @@ -6,15 +6,22 @@ on: jobs: prettier: name: Code style - runs-on: ubuntu-22.04 - + runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: node-version: "22.x" cache: "yarn" - - run: yarn install - - run: npx prettier --check . + + actionlint: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - name: Check workflow files + run: | + bash <(curl https://raw.githubusercontent.com/rhysd/actionlint/main/scripts/download-actionlint.bash) + ./actionlint -color + shell: bash