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.
Unified · Split
| @@ -360,17 +360,7 @@ jobs: · 359 unmodified lines | ||
| 360 | 360 | run: cd gix-pack && cargo build --all-features --target "$TARGET" |
| 361 | 361 | |
| 362 | 362 | check-mode: |
| 363 | − # FIXME: Only run this on ubuntu-latest (don't use a matrix). | |
| 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 | |
| 363 | + runs-on: ubuntu-latest | |
| 374 | 364 | |
| 375 | 365 | steps: |
| 376 | 366 | - uses: actions/checkout@v4 |