Skip to content

Commit 6a6a68f

Browse files
rename ci job names and add arch matrix runners
1 parent 6a10bef commit 6a6a68f

File tree

1 file changed

+10
-8
lines changed

1 file changed

+10
-8
lines changed

.github/workflows/ci.yml

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -18,27 +18,27 @@ jobs:
1818

1919
complete:
2020
if: always()
21-
needs: [fmt-rust, fmt-go, build-libs, build-and-test]
21+
needs: [check-fmt-rust, check-fmt-go, check-libs-reproducible, build-and-test]
2222
runs-on: ubuntu-latest
2323
steps:
2424
- if: contains(needs.*.result, 'failure') || contains(needs.*.result, 'cancelled')
2525
run: exit 1
2626

27-
fmt-rust:
27+
check-fmt-rust:
2828
runs-on: ubuntu-latest
2929
steps:
3030
- uses: actions/checkout@v4
3131
- run: rustup update
3232
- run: cargo fmt --all --check
3333

34-
fmt-go:
34+
check-fmt-go:
3535
runs-on: ubuntu-latest
3636
steps:
3737
- uses: actions/checkout@v4
3838
- run: go fmt ./...
3939
- run: git add -N . && git diff HEAD --exit-code
4040

41-
build-libs:
41+
check-libs-reproducible:
4242
runs-on: ubuntu-latest
4343
steps:
4444
- uses: actions/checkout@v4
@@ -53,14 +53,16 @@ jobs:
5353
# the next step runs costly CI, and the libs may not be confirmed to match
5454
# the source until the prior step occurs, this step is set to depend on the
5555
# first step and won't run until the libs are confirmed to build.
56-
- build-libs
56+
- check-libs-reproducible
5757
strategy:
5858
matrix:
5959
rust: [msrv, latest]
6060
sys:
61-
- os: ubuntu-latest
62-
- os: macos-latest
63-
- os: windows-latest
61+
- os: ubuntu-latest # amd64
62+
- os: ubuntu-22.04-arm # arm64
63+
- os: macos-latest # arm64
64+
- os: macos-13 # amd64
65+
- os: windows-latest # amd64
6466
runs-on: ${{ matrix.sys.os }}
6567
steps:
6668
- uses: actions/checkout@v4

0 commit comments

Comments
 (0)