Skip to content

Commit 40f8d56

Browse files
committed
ci: Update
1 parent d452054 commit 40f8d56

1 file changed

Lines changed: 11 additions & 10 deletions

File tree

.github/workflows/ci.yml

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ name: Build and test
33
on:
44
push:
55
pull_request:
6+
workflow_dispatch:
67

78
env:
89
CARGO_TERM_COLOR: always
@@ -15,11 +16,11 @@ jobs:
1516
matrix:
1617
toolchain:
1718
- name: msrv
18-
version: 1.88.0
19-
- name: latest
20-
version: 1.93.0
19+
version: 1.88
20+
- name: stable
21+
version: stable
2122
- name: nightly
22-
version: 'nightly'
23+
version: nightly
2324
os:
2425
- name: linux
2526
version: ubuntu-latest
@@ -45,28 +46,28 @@ jobs:
4546
# Install Rust toolchain and components.
4647
- run: rustup update ${{ matrix.toolchain.version }}
4748
- run: rustup default ${{ matrix.toolchain.version }}
48-
- if: matrix.toolchain.name == 'latest'
49+
- if: matrix.toolchain.name == 'stable'
4950
run: rustup component add clippy rustfmt
5051
- if: matrix.toolchain.name == 'nightly'
5152
run: rustup component add rustc-codegen-cranelift-preview
5253

5354
# Check formatting.
54-
- if: matrix.toolchain.name == 'latest' && matrix.os.name == 'linux'
55+
- if: matrix.toolchain.name == 'stable' && matrix.os.name == 'linux'
5556
run: cargo fmt --check
5657

5758
# Normal build and tests.
5859
- run: cargo build
59-
- if: matrix.toolchain.name == 'latest'
60+
- if: matrix.toolchain.name == 'stable'
6061
run: cargo clippy -- --deny warnings
61-
- if: matrix.toolchain.name == 'latest'
62+
- if: matrix.toolchain.name == 'stable'
6263
run: cargo clippy --tests -- --deny warnings
6364
- run: cargo test
6465

6566
# Minimal build and tests.
6667
- run: cargo build --no-default-features
67-
- if: matrix.toolchain.name == 'latest'
68+
- if: matrix.toolchain.name == 'stable'
6869
run: cargo clippy --no-default-features -- --deny warnings
69-
- if: matrix.toolchain.name == 'latest'
70+
- if: matrix.toolchain.name == 'stable'
7071
run: cargo clippy --no-default-features --tests -- --deny warnings
7172
- run: cargo test --no-default-features
7273

0 commit comments

Comments
 (0)