Skip to content

Commit

Permalink
feat: Check formatting as part of CI
Browse files Browse the repository at this point in the history
  • Loading branch information
l0b0 committed Mar 9, 2023
1 parent 8fa65ec commit 5ac269a
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -102,3 +102,11 @@ jobs:
- run: curl https://raw.githubusercontent.com/nektos/act/master/install.sh | sudo bash
- run: docker pull ghcr.io/catthehacker/ubuntu:js-20.04
- run: ./bin/act -P ubuntu-latest=ghcr.io/catthehacker/ubuntu:js-20.04 push -j simple-build

lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install Nix
uses: ./
- run: nix-shell --packages cacert git nodejs pre-commit --pure --run 'pre-commit run --all-files'

0 comments on commit 5ac269a

Please sign in to comment.