Skip to content

Commit

Permalink
ci: Migrate to moonrepo/setup-rust action. (#783)
Browse files Browse the repository at this point in the history
Change actions.
  • Loading branch information
milesj committed Apr 17, 2023
1 parent 7e79ad5 commit 4a21c49
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
submodules: false
ref: ${{ steps.sha.outputs.result }}
# ref: ${{ github.event.pull_request.head.sha }}
- uses: dtolnay/[email protected]
- uses: moonrepo/setup-rust@v0
- uses: Swatinem/rust-cache@v2
with:
shared-key: benchmark
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/moon.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
- uses: actions/setup-node@v3
with:
cache: yarn
- uses: dtolnay/[email protected]
- uses: moonrepo/setup-rust@v0
- uses: Swatinem/rust-cache@v2
with:
shared-key: moon
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ jobs:
runs-on: ${{ matrix.host }}
steps:
- uses: actions/checkout@v3
- uses: dtolnay/[email protected]
- uses: moonrepo/setup-rust@v0
if: ${{ !matrix.docker-target }}
with:
target: ${{ matrix.target }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: dtolnay/[email protected]
- uses: moonrepo/setup-rust@v0
with:
components: rustfmt
- uses: Swatinem/rust-cache@v2
Expand All @@ -39,7 +39,7 @@ jobs:
fail-fast: false
steps:
- uses: actions/checkout@v3
- uses: dtolnay/[email protected]
- uses: moonrepo/setup-rust@v0
with:
components: clippy
- uses: Swatinem/rust-cache@v2
Expand All @@ -57,7 +57,7 @@ jobs:
fail-fast: false
steps:
- uses: actions/checkout@v3
- uses: dtolnay/[email protected]
- uses: moonrepo/setup-rust@v0
with:
components: llvm-tools-preview
- name: Cache cargo
Expand Down
2 changes: 1 addition & 1 deletion rust-toolchain.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
# The default profile includes rustc, rust-std, cargo, rust-docs, rustfmt and clippy.
# https://rust-lang.github.io/rustup/concepts/profiles.html
profile = "default"
channel = "1.68.1"
channel = "1.68.2"

0 comments on commit 4a21c49

Please sign in to comment.