Skip to content

Commit

Permalink
use toolchain version in rs-cargo
Browse files Browse the repository at this point in the history
  • Loading branch information
PgBiel committed Oct 29, 2024
1 parent 3501a32 commit 72bbfdb
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,7 @@ jobs:
uses: clechasseur/rs-cargo@v2
with:
command: install
toolchain: ${{ matrix.toolchain }}
args: "--path compiler-cli --target ${{ matrix.target }} --debug --locked"
use-cross: ${{ matrix.use-cross }}
if: ${{ matrix.run-integration-tests }}
Expand All @@ -132,6 +133,7 @@ jobs:
uses: clechasseur/rs-cargo@v2
with:
command: test
toolchain: ${{ matrix.toolchain }}
args: "--workspace --target ${{ matrix.target }}"
use-cross: ${{ matrix.use-cross }}

Expand Down
1 change: 1 addition & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ jobs:
uses: clechasseur/rs-cargo@v2
with:
command: build
toolchain: ${{ matrix.toolchain }}
args: --release --target ${{ matrix.target }}
use-cross: ${{ matrix.use-cross }}

Expand Down
1 change: 1 addition & 0 deletions .github/workflows/test-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ jobs:
uses: clechasseur/rs-cargo@v2
with:
command: build
toolchain: ${{ matrix.toolchain }}
args: --release --target ${{ matrix.target }}
use-cross: ${{ matrix.use-cross }}

Expand Down

0 comments on commit 72bbfdb

Please sign in to comment.