Skip to content

Commit

Permalink
Use installed rust toolchain
Browse files Browse the repository at this point in the history
  • Loading branch information
casey committed Sep 3, 2024
1 parent acb732a commit cc57364
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 9 deletions.
10 changes: 1 addition & 9 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,18 +60,10 @@ jobs:
runs-on: ${{matrix.os}}

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Install Rust Toolchain Components
uses: actions-rs/toolchain@v1
with:
components: clippy, rustfmt
override: true
target: ${{ matrix.target }}
toolchain: stable

- uses: Swatinem/rust-cache@v2

- name: Info
Expand Down
3 changes: 3 additions & 0 deletions bin/package
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ echo "Packaging imdl $VERSION for $TARGET..."

test -f Cargo.lock || cargo generate-lockfile

echo "Installing rust toolchain for $TARGET..."
rustup target add $TARGET

echo "Building imdl..."

case $OS in
Expand Down

0 comments on commit cc57364

Please sign in to comment.