Skip to content

Commit

Permalink
Add linting workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
rianadon committed Nov 29, 2023
1 parent abd9a60 commit 452d403
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,19 @@ name: Checks
on: [push]

jobs:
lint:
name: Ensure the code is formatted
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Install dprint
run: |
curl -fsSL https://dprint.dev/install.sh | sh
echo "$HOME/.dprint/bin" >> $GITHUB_PATH
- name: Check formatting
run: dprint check
deploy-test:
name: Verify the site can be deployed
runs-on: ubuntu-latest
Expand Down

0 comments on commit 452d403

Please sign in to comment.