Skip to content

Commit c21516d

Browse files
committed
Clean up the CI configuration file
Shorten test names and adjust indentation.
1 parent 49ee1e9 commit c21516d

File tree

1 file changed

+14
-15
lines changed

1 file changed

+14
-15
lines changed

.github/workflows/rust.yml

Lines changed: 14 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Continuous integration
1+
name: CI
22

33
on:
44
pull_request:
@@ -7,29 +7,28 @@ on:
77
- master
88

99
jobs:
10-
os_tests:
11-
name: "Tests / OS: ${{ matrix.os }} - ${{ matrix.channel }}"
10+
test:
11+
name: Tests
1212
runs-on: ${{ matrix.os }}
1313
strategy:
1414
matrix:
1515
channel:
16-
- stable
17-
- beta
18-
- nightly
19-
- 1.23.0
16+
- stable
17+
- beta
18+
- nightly
19+
- 1.23.0
2020
os:
21-
# FIXME: compiling with 1.23 on macOS 12 fails to linL
22-
# archive member 'rust.metadata.bin' with length 40821 is not mach-o or llvm bitcode file
23-
- macos-11
24-
- windows-2022
25-
- ubuntu-22.04
21+
- macos-11
22+
- windows-2022
23+
- ubuntu-22.04
2624

2725
steps:
2826
- name: Checkout repository
2927
uses: actions/checkout@v4
3028

3129
- name: Update rust
32-
run: rustup update ${{ matrix.channel }} --no-self-update
30+
run: |
31+
rustup default ${{ matrix.channel }}
32+
rustup update --no-self-update
3333
34-
- name: Tests
35-
run: cargo +${{ matrix.channel }} test --all
34+
- run: cargo +${{ matrix.channel }} test --all

0 commit comments

Comments
 (0)