Public Access
ci: source cargo env and add rustfmt+clippy
This commit is contained in:
@@ -18,8 +18,8 @@ jobs:
|
|||||||
- name: Setup Rust with rustfmt and clippy
|
- name: Setup Rust with rustfmt and clippy
|
||||||
run: |
|
run: |
|
||||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain stable --profile default
|
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain stable --profile default
|
||||||
echo "$HOME/.cargo/bin" >> $GITHUB_PATH
|
source "$HOME/.cargo/env"
|
||||||
$HOME/.cargo/bin/rustup component add rustfmt clippy
|
rustup component add rustfmt clippy
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
run: cargo build --release
|
run: cargo build --release
|
||||||
@@ -44,7 +44,7 @@ jobs:
|
|||||||
- name: Setup Rust
|
- name: Setup Rust
|
||||||
run: |
|
run: |
|
||||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain stable --profile default
|
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain stable --profile default
|
||||||
echo "$HOME/.cargo/bin" >> $GITHUB_PATH
|
source "$HOME/.cargo/env"
|
||||||
|
|
||||||
- name: Build release binary
|
- name: Build release binary
|
||||||
run: cargo build --release
|
run: cargo build --release
|
||||||
|
|||||||
Reference in New Issue
Block a user