Skip to content

Commit 8ddc78a

Browse files
committed
Cache CI and run on stable only
1 parent 77f3b37 commit 8ddc78a

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

.github/workflows/main.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,15 @@ on:
1212
jobs:
1313
run:
1414
name: Run
15-
runs-on: macos-latest
15+
runs-on: ubuntu-latest
1616
steps:
17-
- uses: actions/checkout@master
18-
- name: Install Rust
19-
run: rustup update nightly && rustup default nightly
17+
- name: Checkout repository
18+
uses: actions/checkout@v3
19+
- name: Install Rust toolchain
20+
run: |
21+
rustup update --no-self-update stable && rustup default stable
22+
- name: Cache Dependencies
23+
uses: Swatinem/rust-cache@988c164c3d0e93c4dbab36aaf5bbeb77425b2894
2024
- run: cargo build
2125
- name: Configure crates.io token
2226
run: |

0 commit comments

Comments
 (0)