Skip to content

Commit 051333d

Browse files
committed
Try only on stable
1 parent 277debd commit 051333d

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,31 +38,37 @@ jobs:
3838
args: -- -D clippy::all
3939
cache: {}
4040
components: "clippy"
41+
only-on-stable: true
4142
- name: "Clippy (openssl feature)"
4243
cmd: clippy
4344
args: --no-default-features --features openssl -- -D clippy::all
4445
cache: {}
4546
components: "clippy"
47+
only-on-stable: true
4648
- name: "Formatting"
4749
cmd: fmt
4850
args: -- --check
4951
cache: {}
5052
components: "rustfmt"
53+
only-on-stable: false
5154
- name: "Unit Tests (all features)"
5255
cmd: test
5356
args: --all-features
5457
cache: { shared-key: "tests" }
5558
components: ''
59+
only-on-stable: false
5660
- name: "Unit Tests (openssl feature)"
5761
cmd: test
5862
args: --no-default-features --features openssl
5963
cache: { shared-key: "tests-openssl" }
6064
components: ''
65+
only-on-stable: false
6166
env:
6267
RUST_BACKTRACE: full
6368
RUSTC_WRAPPER: sccache
6469
SCCACHE_CACHE_SIZE: 1G
6570
SCCACHE_GHA_ENABLED: "true"
71+
if: (matrix.cargo.only-on-stable == 'false') || (matrix.cargo.only-on-stable == 'true' && matrix.rust == 'stable')
6672
steps:
6773
# Checkout code
6874
- name: "Git checkout"

0 commit comments

Comments
 (0)