88 github.sha }}\" >> $GITHUB_ENV\n else\n echo \" target_commit=${{ github.event.pull_request.head.sha
99 }}\" >> $GITHUB_ENV\n fi\n "
1010 - name : Git checkout
11- uses : actions/checkout@v4
11+ uses : actions/checkout@v6
1212 with :
1313 fetch-depth : 0
1414 ref : ${{ env.target_commit }}
2222 }}\" >> $GITHUB_ENV\n else\n echo \" tested_commit=$merge_commit\" >> $GITHUB_ENV\n \
2323 \ fi\n fi\n "
2424 - name : Git checkout
25- uses : actions/checkout@v4
25+ uses : actions/checkout@v6
2626 with :
2727 fetch-depth : 0
2828 ref : ${{ env.tested_commit }}
3838 - id : stepGetDerivation
3939 name : Getting derivation for current job (coq)
4040 run : " NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link \\\n --argstr bundle
41- \" 8.19 \" --argstr job \" coq\" \\\n --dry-run 2> err > out || (touch fail;
42- true)\n cat out err\n if [ -e fail ]; then echo \" Error: getting derivation
41+ \" 8.20-2.3.0 \" --argstr job \" coq\" \\\n --dry-run 2> err > out || (touch
42+ fail; true)\n cat out err\n if [ -e fail ]; then echo \" Error: getting derivation
4343 failed\" ; exit 1; fi\n "
4444 - id : stepCheck
4545 name : Checking presence of CI target for current job
5050 status=fetched\" >> $GITHUB_OUTPUT\n fi\n "
5151 - if : steps.stepCheck.outputs.status != 'fetched'
5252 name : Building/fetching current CI target
53- run : NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle "8.19" --argstr
54- job "coq"
53+ run : NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
54+ " 8.20-2.3.0" --argstr job "coq"
55+ mathcomp :
56+ needs :
57+ - coq
58+ runs-on : ubuntu-latest
59+ steps :
60+ - name : Determine which commit to initially checkout
61+ run : " if [ ${{ github.event_name }} = \" push\" ]; then\n echo \" target_commit=${{
62+ github.sha }}\" >> $GITHUB_ENV\n else\n echo \" target_commit=${{ github.event.pull_request.head.sha
63+ }}\" >> $GITHUB_ENV\n fi\n "
64+ - name : Git checkout
65+ uses : actions/checkout@v6
66+ with :
67+ fetch-depth : 0
68+ ref : ${{ env.target_commit }}
69+ - name : Determine which commit to test
70+ run : " if [ ${{ github.event_name }} = \" push\" ]; then\n echo \" tested_commit=${{
71+ github.sha }}\" >> $GITHUB_ENV\n else\n merge_commit=$(git ls-remote ${{ github.event.repository.html_url
72+ }} refs/pull/${{ github.event.number }}/merge | cut -f1)\n mergeable=$(git
73+ merge --no-commit --no-ff ${{ github.event.pull_request.base.sha }} > /dev/null
74+ 2>&1; echo $?; git merge --abort > /dev/null 2>&1 || true)\n if [ -z \" $merge_commit\" \
75+ \ -o \" x$mergeable\" != \" x0\" ]; then\n echo \" tested_commit=${{ github.event.pull_request.head.sha
76+ }}\" >> $GITHUB_ENV\n else\n echo \" tested_commit=$merge_commit\" >> $GITHUB_ENV\n \
77+ \ fi\n fi\n "
78+ - name : Git checkout
79+ uses : actions/checkout@v6
80+ with :
81+ fetch-depth : 0
82+ ref : ${{ env.tested_commit }}
83+ - name : Cachix install
84+ uses : cachix/install-nix-action@v31
85+ with :
86+ nix_path : nixpkgs=channel:nixpkgs-unstable
87+ - name : Cachix setup coq
88+ uses : cachix/cachix-action@v16
89+ with :
90+ extraPullNames : coq-community, math-comp
91+ name : coq
92+ - id : stepGetDerivation
93+ name : Getting derivation for current job (mathcomp)
94+ run : " NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link \\\n --argstr bundle
95+ \" 8.20-2.3.0\" --argstr job \" mathcomp\" \\\n --dry-run 2> err > out ||
96+ (touch fail; true)\n cat out err\n if [ -e fail ]; then echo \" Error: getting
97+ derivation failed\" ; exit 1; fi\n "
98+ - id : stepCheck
99+ name : Checking presence of CI target for current job
100+ run : " if $(cat out err | grep -q \" built:\" ) ; then\n echo \" CI target needs
101+ actual building\"\n if $(cat out err | grep -q \" derivations will be built:\" \
102+ ) ; then\n echo \" waiting a bit for derivations that should be in cache\" \
103+ \n sleep 30\n fi\n else\n echo \" CI target already built\"\n echo \" \
104+ status=fetched\" >> $GITHUB_OUTPUT\n fi\n "
105+ - if : steps.stepCheck.outputs.status != 'fetched'
106+ name : ' Building/fetching previous CI target: coq'
107+ run : NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
108+ " 8.20-2.3.0" --argstr job "coq"
109+ - if : steps.stepCheck.outputs.status != 'fetched'
110+ name : ' Building/fetching previous CI target: mathcomp-character'
111+ run : NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
112+ " 8.20-2.3.0" --argstr job "mathcomp-character"
113+ - if : steps.stepCheck.outputs.status != 'fetched'
114+ name : Building/fetching current CI target
115+ run : NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
116+ " 8.20-2.3.0" --argstr job "mathcomp"
55117 stablesort :
56118 needs :
57119 - coq
62124 github.sha }}\" >> $GITHUB_ENV\n else\n echo \" target_commit=${{ github.event.pull_request.head.sha
63125 }}\" >> $GITHUB_ENV\n fi\n "
64126 - name : Git checkout
65- uses : actions/checkout@v4
127+ uses : actions/checkout@v6
66128 with :
67129 fetch-depth : 0
68130 ref : ${{ env.target_commit }}
76138 }}\" >> $GITHUB_ENV\n else\n echo \" tested_commit=$merge_commit\" >> $GITHUB_ENV\n \
77139 \ fi\n fi\n "
78140 - name : Git checkout
79- uses : actions/checkout@v4
141+ uses : actions/checkout@v6
80142 with :
81143 fetch-depth : 0
82144 ref : ${{ env.tested_commit }}
92154 - id : stepGetDerivation
93155 name : Getting derivation for current job (stablesort)
94156 run : " NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link \\\n --argstr bundle
95- \" 8.19 \" --argstr job \" stablesort\" \\\n --dry-run 2> err > out || (touch
96- fail; true)\n cat out err\n if [ -e fail ]; then echo \" Error: getting derivation
97- failed\" ; exit 1; fi\n "
157+ \" 8.20-2.3.0 \" --argstr job \" stablesort\" \\\n --dry-run 2> err > out ||
158+ (touch fail; true)\n cat out err\n if [ -e fail ]; then echo \" Error: getting
159+ derivation failed\" ; exit 1; fi\n "
98160 - id : stepCheck
99161 name : Checking presence of CI target for current job
100162 run : " if $(cat out err | grep -q \" built:\" ) ; then\n echo \" CI target needs
@@ -104,36 +166,36 @@ jobs:
104166 status=fetched\" >> $GITHUB_OUTPUT\n fi\n "
105167 - if : steps.stepCheck.outputs.status != 'fetched'
106168 name : ' Building/fetching previous CI target: coq'
107- run : NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle "8.19" --argstr
108- job "coq"
169+ run : NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
170+ " 8.20-2.3.0 " --argstr job "coq"
109171 - if : steps.stepCheck.outputs.status != 'fetched'
110- name : ' Building/fetching previous CI target: mathcomp'
111- run : NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle "8.19" --argstr
112- job "mathcomp"
172+ name : ' Building/fetching previous CI target: mathcomp-ssreflect '
173+ run : NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
174+ " 8.20-2.3.0 " --argstr job "mathcomp-ssreflect "
113175 - if : steps.stepCheck.outputs.status != 'fetched'
114176 name : ' Building/fetching previous CI target: paramcoq'
115- run : NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle "8.19" --argstr
116- job "paramcoq"
177+ run : NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
178+ " 8.20-2.3.0 " --argstr job "paramcoq"
117179 - if : steps.stepCheck.outputs.status != 'fetched'
118180 name : ' Building/fetching previous CI target: mathcomp-zify'
119- run : NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle "8.19" --argstr
120- job "mathcomp-zify"
181+ run : NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
182+ " 8.20-2.3.0 " --argstr job "mathcomp-zify"
121183 - if : steps.stepCheck.outputs.status != 'fetched'
122184 name : ' Building/fetching previous CI target: equations'
123- run : NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle "8.19" --argstr
124- job "equations"
185+ run : NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
186+ " 8.20-2.3.0 " --argstr job "equations"
125187 - if : steps.stepCheck.outputs.status != 'fetched'
126188 name : Building/fetching current CI target
127- run : NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle "8.19" --argstr
128- job "stablesort"
129- name : Nix CI for bundle 8.19
189+ run : NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
190+ " 8.20-2.3.0 " --argstr job "stablesort"
191+ name : Nix CI for bundle 8.20-2.3.0
130192on :
131193 pull_request :
132194 paths :
133- - .github/workflows/nix-action-8.19 .yml
195+ - .github/workflows/nix-action-8.20-2.3.0 .yml
134196 pull_request_target :
135197 paths-ignore :
136- - .github/workflows/nix-action-8.19 .yml
198+ - .github/workflows/nix-action-8.20-2.3.0 .yml
137199 types :
138200 - opened
139201 - synchronize
0 commit comments