Skip to content

Commit d432e0c

Browse files
committed
ci: update checks
Signed-off-by: Patrizio Bekerle <patrizio@bekerle.com>
1 parent 0e29d86 commit d432e0c

1 file changed

Lines changed: 13 additions & 4 deletions

File tree

.github/workflows/format-check.yml

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,20 @@ on:
99

1010
jobs:
1111
format-check:
12-
name: 📄 Check code formatting with "just fmt"
12+
name: 📄 Check code formatting
1313
runs-on: ubuntu-latest
1414
steps:
15-
- uses: actions/checkout@v5
16-
- uses: cachix/install-nix-action@v31
15+
- name: 🧰 Checkout code
16+
uses: actions/checkout@v5
17+
- name: ⚙️ Install Nix
18+
uses: cachix/install-nix-action@v31
1719
with:
1820
nix_path: nixpkgs=channel:nixos-unstable
19-
- run: nix-shell -p just --run "just fmt --ci"
21+
- name: 🔒 Cache dependencies
22+
uses: cachix/cachix-action@v16
23+
with:
24+
name: devenv
25+
- name: 🔧 Install devenv.sh
26+
run: nix profile add nixpkgs#devenv
27+
- name: 🔨 Build the devenv shell and run tests
28+
run: devenv test

0 commit comments

Comments
 (0)