File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11on :
22 pull_request :
33 push :
4- branches :
5- - main
6- - ' releases/*'
74jobs :
85 list-determinate-shells :
96 runs-on : ubuntu-22.04
@@ -37,11 +34,11 @@ jobs:
3734 steps :
3835 - uses : actions/checkout@v4
3936 - uses : cachix/install-nix-action@v30
40- - uses : ./
41- - name : Make the nix command fail
37+ - name : Test with another local shell target
4238 uses : ./
4339 with :
44- arguments : --a-bad-flag
40+ arguments : ./#notDefault
41+ - run : which shfmt
4542 id : should-fail
4643 continue-on-error : true
4744 - name : Fail if the action succeeded when the nix command failed
Original file line number Diff line number Diff line change 2424 default = pkgs . mkShell {
2525 packages = [ pkgs . shfmt pkgs . shellcheck pkgs . actionlint ] ;
2626 } ;
27+ notDefault = pkgs . mkShell {
28+ packages = [ pkgs . cowsay ] ;
29+ } ;
2730 } ) ;
2831 checks = eachSystem ( {
2932 pkgs ,
You can’t perform that action at this time.
0 commit comments