Skip to content

Commit 4a1a60b

Browse files
committed
Improve scheduled runs
1 parent 2e12f3a commit 4a1a60b

File tree

1 file changed

+2
-12
lines changed

1 file changed

+2
-12
lines changed

.github/workflows/validate.yml

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,12 @@ jobs:
1212
test:
1313
name: Test
1414

15+
if: github.event_name == 'schedule'
16+
1517
strategy:
1618
fail-fast: false
1719
matrix:
1820
rust:
19-
- 1.57.0
2021
- stable
2122
- beta
2223

@@ -50,17 +51,6 @@ jobs:
5051
run: |
5152
rustup toolchain install nightly --profile minimal --component miri,rust-src --allow-downgrade
5253
rustup default nightly
53-
- name: Cache xargo
54-
uses: actions/cache@v3
55-
with:
56-
path: |
57-
~/.cargo/.crates.toml
58-
~/.cargo/.crates2.json
59-
~/.cargo/bin/xargo
60-
~/.cargo/bin/xargo-check
61-
key: xargo
62-
- name: Install xargo
63-
run: cargo install xargo
6454
- name: Checkout
6555
uses: actions/checkout@v3
6656
- name: Test

0 commit comments

Comments
 (0)