Repository navigation
Commit 877643b
committed
Run the workflow without a warning of its own
go.yml names git's default branch before each job's checkout, checks out with actions/checkout@v5 and sets up Go with actions/setup-go@v6. The test job removes the psql.1.gz alternative before it purges the runner's PostgreSQL, quotes the package names it builds from PGVERSION and POSTGISVERSION and the paths it appends to GITHUB_ENV, and counts the sample documents with find.
Why. The CI log carried warnings from these steps, not from the tier's build: git's hint on every repository it initialises without a default branch, the Node 20 deprecation and DEP0040 for the punycode module, which the runner reports from actions/checkout@v4 and actions/setup-go@v5, and update-alternatives repairing the psql.1.gz link group of the PostgreSQL the provision step installs, whose man page is absent. actionlint reports the unquoted expansions (SC2086) and the ls count (SC2012). MobilityDB/JMEOS#217 and MobilityDB/MEOS-API#241 apply the same steps.
Measured. In the log of run 42108524478 on master, the hint, the deprecation and the update-alternatives warning name these steps. actions/checkout v5.1.0 and actions/setup-go v6.5.0 run on node24. actionlint 1.7.12 reports no finding in go.yml, against 9 on master, and the find count reads the same 13 sample documents the ls count reads.1 parent cafcd8f commit 877643b
1 file changed
Lines changed: 27 additions & 13 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
19 | 22 | | |
20 | | - | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
21 | 26 | | |
22 | 27 | | |
23 | 28 | | |
| |||
110 | 115 | | |
111 | 116 | | |
112 | 117 | | |
113 | | - | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
114 | 124 | | |
115 | 125 | | |
116 | | - | |
| 126 | + | |
117 | 127 | | |
118 | 128 | | |
119 | 129 | | |
| |||
125 | 135 | | |
126 | 136 | | |
127 | 137 | | |
128 | | - | |
| 138 | + | |
129 | 139 | | |
130 | 140 | | |
131 | 141 | | |
| |||
148 | 158 | | |
149 | 159 | | |
150 | 160 | | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
151 | 165 | | |
152 | 166 | | |
153 | 167 | | |
| |||
173 | 187 | | |
174 | 188 | | |
175 | 189 | | |
176 | | - | |
177 | | - | |
178 | | - | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
179 | 193 | | |
180 | 194 | | |
181 | 195 | | |
| |||
187 | 201 | | |
188 | 202 | | |
189 | 203 | | |
190 | | - | |
191 | | - | |
| 204 | + | |
| 205 | + | |
192 | 206 | | |
193 | 207 | | |
194 | 208 | | |
| |||
204 | 218 | | |
205 | 219 | | |
206 | 220 | | |
207 | | - | |
208 | | - | |
| 221 | + | |
| 222 | + | |
209 | 223 | | |
210 | 224 | | |
211 | 225 | | |
| |||
295 | 309 | | |
296 | 310 | | |
297 | 311 | | |
298 | | - | |
| 312 | + | |
299 | 313 | | |
300 | 314 | | |
0 commit comments