Skip to content

Commit

Permalink
Add actionlint to code-style.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
martijngastkemper committed Feb 7, 2025
1 parent 31337c7 commit 525c28c
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions .github/workflows/code-style.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 525c28c

Please sign in to comment.