Skip to content

Commit d2155ff

Browse files
committed
feat: Check formatting as part of CI
1 parent 8fa65ec commit d2155ff

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.github/workflows/test.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,3 +102,13 @@ jobs:
102102
- run: curl https://raw.githubusercontent.com/nektos/act/master/install.sh | sudo bash
103103
- run: docker pull ghcr.io/catthehacker/ubuntu:js-20.04
104104
- run: ./bin/act -P ubuntu-latest=ghcr.io/catthehacker/ubuntu:js-20.04 push -j simple-build
105+
106+
lint:
107+
runs-on: ubuntu-latest
108+
steps:
109+
- uses: actions/checkout@v3
110+
- name: Install Nix
111+
uses: ./
112+
with:
113+
nix_path: nixpkgs=channel:nixos-22.11
114+
- run: nix-shell --packages cacert git nodejs pre-commit --pure --run 'pre-commit run --all-files'

0 commit comments

Comments
 (0)