Update toolchain setup action
This commit is contained in:
parent
3cea551ce9
commit
7066e264cd
4 changed files with 6 additions and 23 deletions
.github/workflows
4
.github/workflows/build.yml
vendored
4
.github/workflows/build.yml
vendored
|
@ -18,9 +18,7 @@ jobs:
|
|||
if: contains(matrix.os, 'ubuntu') && !contains(matrix.features, 'bundle-sqlite')
|
||||
run: sudo apt-get update && sudo apt-get install libsqlite3-dev
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions-rs/toolchain@v1
|
||||
with:
|
||||
profile: minimal
|
||||
- uses: actions-rust-lang/setup-rust-toolchain@v1
|
||||
- uses: actions-rs/cargo@v1
|
||||
with:
|
||||
command: test
|
||||
|
|
5
.github/workflows/coverage.yml
vendored
5
.github/workflows/coverage.yml
vendored
|
@ -16,10 +16,7 @@ jobs:
|
|||
steps:
|
||||
- name: Checkout Polaris
|
||||
uses: actions/checkout@v4
|
||||
- uses: actions-rs/toolchain@v1
|
||||
with:
|
||||
toolchain: stable
|
||||
profile: minimal
|
||||
- uses: actions-rust-lang/setup-rust-toolchain@v1
|
||||
- name: Run Tarpaulin
|
||||
uses: actions-rs/tarpaulin@v0.1
|
||||
with:
|
||||
|
|
5
.github/workflows/release.yml
vendored
5
.github/workflows/release.yml
vendored
|
@ -49,10 +49,7 @@ jobs:
|
|||
with:
|
||||
ref: release
|
||||
- name: Install Rust Toolchain
|
||||
uses: actions-rs/toolchain@v1
|
||||
with:
|
||||
toolchain: stable
|
||||
profile: minimal
|
||||
uses: actions-rust-lang/setup-rust-toolchain@v1
|
||||
- name: Make release
|
||||
uses: ./.github/actions/make-windows-release
|
||||
with:
|
||||
|
|
15
.github/workflows/validate-install.yml
vendored
15
.github/workflows/validate-install.yml
vendored
|
@ -44,10 +44,7 @@ jobs:
|
|||
run: make preview
|
||||
- name: Preview Install w/ Custom Prefix
|
||||
run: make preview PREFIX=/some/random/prefix
|
||||
- uses: actions-rs/toolchain@v1
|
||||
with:
|
||||
toolchain: stable
|
||||
profile: minimal
|
||||
- uses: actions-rust-lang/setup-rust-toolchain@v1
|
||||
- name: Install
|
||||
run: sudo --preserve-env=PATH make install
|
||||
- name: Run Polaris
|
||||
|
@ -76,10 +73,7 @@ jobs:
|
|||
run: make preview-xdg
|
||||
- name: Preview Install w/ Custom XDG_DATA_HOME
|
||||
run: make preview-xdg XDG_DATA_HOME=/my/own/xdg/home
|
||||
- uses: actions-rs/toolchain@v1
|
||||
with:
|
||||
toolchain: stable
|
||||
profile: minimal
|
||||
- uses: actions-rust-lang/setup-rust-toolchain@v1
|
||||
- name: Install
|
||||
run: make install-xdg
|
||||
- name: Run Polaris
|
||||
|
@ -99,10 +93,7 @@ jobs:
|
|||
- name: Checkout Polaris
|
||||
uses: actions/checkout@v1
|
||||
- name: Install Rust Toolchain
|
||||
uses: actions-rs/toolchain@v1
|
||||
with:
|
||||
toolchain: stable
|
||||
profile: minimal
|
||||
uses: actions-rust-lang/setup-rust-toolchain@v1
|
||||
- name: Make release
|
||||
uses: ./.github/actions/make-windows-release
|
||||
with:
|
||||
|
|
Loading…
Add table
Reference in a new issue