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