File tree Expand file tree Collapse file tree 1 file changed +30
-7
lines changed
Expand file tree Collapse file tree 1 file changed +30
-7
lines changed Original file line number Diff line number Diff line change 1- on : [pull_request]
1+ on :
2+ pull_request :
3+ types :
4+ - opened
5+ - synchronize
6+ - reopened
7+ - ready_for_review
8+ - labeled
29jobs :
3- checks :
10+ build-and-test :
411 runs-on : ubuntu-latest
5- container : archlinux/archlinux:latest
612 steps :
13+ - uses : cachix/install-nix-action@v27
14+ with :
15+ nix_path : nixpkgs=channel:nixos-unstable
716 - name : Install dependencies
8- run : pacman -Syu --noconfirm make mill z3
9- - uses : actions/checkout@v2
10- - name : Check Format
11- run : make checkformat
17+ run : nix-shell -p mill verilator z3
18+ - uses : actions/checkout@v4
19+ with :
20+ ref : ${{ github.event.pull_request.head.sha }}
1221 - name : Test
1322 run : make test
23+
24+ check-format :
25+ runs-on : ubuntu-latest
26+ steps :
27+ - uses : cachix/install-nix-action@v27
28+ with :
29+ nix_path : nixpkgs=channel:nixos-unstable
30+ - name : Install dependencies
31+ run : nix-shell -p mill
32+ - uses : actions/checkout@v4
33+ with :
34+ ref : ${{ github.event.pull_request.head.sha }}
35+ - name : Test
36+ run : make checkformat
You can’t perform that action at this time.
0 commit comments