File tree Expand file tree Collapse file tree 1 file changed +12
-5
lines changed
Expand file tree Collapse file tree 1 file changed +12
-5
lines changed Original file line number Diff line number Diff line change @@ -3,26 +3,33 @@ name: CI Checks
33on :
44 merge_group :
55 push :
6+ branches :
7+ - ' main'
68 pull_request :
79
810concurrency :
911 group : ${{ github.workflow }}-${{ github.head_ref }}
1012 cancel-in-progress : true
1113
14+ permissions :
15+ contents : read
16+
1217jobs :
1318 build_test :
1419 runs-on : ubuntu-latest
1520 name : Build and test packages
1621 steps :
17- - uses : actions/checkout@v3
22+ - uses : actions/checkout@v4
1823 with :
1924 fetch-depth : 0
25+ - uses : oolio-group/install-nix-action@master
26+ with :
27+ github_access_token : ${{ secrets.GITHUB_TOKEN }}
28+ nix_path : nixpkgs=channel:nixos-unstable
2029 - name : Run build
21- run : make
22-
30+ run : nix develop --command make
2331 - name : Run Tests
24- run : make test
25-
32+ run : nix develop --command make test
2633 - uses : actions/upload-artifact@v4
2734 if : always()
2835 with :
You can’t perform that action at this time.
0 commit comments