History

Simplify the `check-mode` CI job

By running it only on Ubuntu (not macOS and Windows), and removing parts that were only needed for running it on Windows. Unlike `etc/copy-packetline.sh`, the `etc/check-mode.sh` script probably does not need to be made easy to retest on other platforms after changes, becaus it does not delete (nor otherwise modify) the repository, and becuase it is considerably shorter, simpler, and less reliant on subtleties of standard tools that vary across platforms.

Eliah Kagan committed 1 year ago

Commit 82cbc0a1 parent ed757ea1 file · +1 −11Browse files

Unified · Split

.github/workflows/ci.yml+1−11
@@ -360,17 +360,7 @@ jobs: · 359 unmodified lines
360 run: cd gix-pack && cargo build --all-features --target "$TARGET"360 run: cd gix-pack && cargo build --all-features --target "$TARGET"
361 361
362 check-mode:362 check-mode:
363 # FIXME: Only run this on ubuntu-latest (don't use a matrix).363 runs-on: ubuntu-latest
364 strategy:
365 fail-fast: false
366 matrix:
367 os: [ ubuntu-latest, macos-latest, windows-latest ]
368
369 runs-on: ${{ matrix.os }}
370
371 defaults:
372 run:
373 shell: bash
374 364
375 steps:365 steps:
376 - uses: actions/checkout@v4366 - uses: actions/checkout@v4