File tree Expand file tree Collapse file tree 1 file changed +32
-7
lines changed Expand file tree Collapse file tree 1 file changed +32
-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 :
11+ name : " Build and Test"
412 runs-on : ubuntu-latest
5- container : archlinux/archlinux:latest
613 steps :
14+ - uses : cachix/install-nix-action@v27
15+ with :
16+ nix_path : nixpkgs=channel:nixos-unstable
717 - name : Install dependencies
8- run : pacman -Syu --noconfirm make mill z3
9- - uses : actions/checkout@v2
10- - name : Check Format
11- run : make checkformat
18+ run : nix-env -i mill verilator z3 -f '<nixpkgs>'
19+ - uses : actions/checkout@v4
20+ with :
21+ ref : ${{ github.event.pull_request.head.sha }}
1222 - name : Test
1323 run : make test
24+
25+ check-format :
26+ name : " Check Format"
27+ runs-on : ubuntu-latest
28+ steps :
29+ - uses : cachix/install-nix-action@v27
30+ with :
31+ nix_path : nixpkgs=channel:nixos-unstable
32+ - name : Install dependencies
33+ run : nix-env -i mill -f '<nixpkgs>'
34+ - uses : actions/checkout@v4
35+ with :
36+ ref : ${{ github.event.pull_request.head.sha }}
37+ - name : Test
38+ run : make checkformat
You can’t perform that action at this time.
0 commit comments