Rule 8.1 forbids one multi-job workflow fronted by several cosmetically labeled badges that all resolve to the same whole-workflow status. Split ci.yml into one workflow per concern (gates, macOS, Linux, Windows, WASM, corpus), each with a unique name, and point each README badge at its own workflow through the native per-workflow badge. The WASM workflow notes in a header that it is a build gate, not a test gate (Rule 8.3). Add a static MIT license badge linking to LICENSE (Rule 8.2). Step contents are unchanged from the previous jobs.
23 lines
394 B
YAML
23 lines
394 B
YAML
name: Linux
|
|
|
|
# Linux build and test in the official Swift container. One concern, one badge.
|
|
|
|
on:
|
|
push:
|
|
branches: [main]
|
|
pull_request:
|
|
workflow_dispatch:
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
linux:
|
|
name: Linux
|
|
runs-on: ubuntu-latest
|
|
container: swift:6.2
|
|
steps:
|
|
- uses: actions/checkout@v6
|
|
- name: Build and test
|
|
run: bash scripts/check-linux.sh
|