Compare commits
No commits in common. "4d654026f4762250465a55a4ba9972e72fd02bec" and "bfef9f3fd6c3f48de09a6bf0b25aa1da2b9afed7" have entirely different histories.
4d654026f4
...
bfef9f3fd6
1 changed files with 2 additions and 10 deletions
|
|
@ -17,7 +17,6 @@ jobs:
|
||||||
path: |
|
path: |
|
||||||
~/.cargo/registry
|
~/.cargo/registry
|
||||||
~/.cargo/bin
|
~/.cargo/bin
|
||||||
~/.rustup
|
|
||||||
target
|
target
|
||||||
key: ${{ runner.os }}-cargo-${{ hashFiles('Cargo.lock') }}
|
key: ${{ runner.os }}-cargo-${{ hashFiles('Cargo.lock') }}
|
||||||
restore-keys: |
|
restore-keys: |
|
||||||
|
|
@ -25,20 +24,13 @@ jobs:
|
||||||
|
|
||||||
- name: Install Rust toolchain
|
- name: Install Rust toolchain
|
||||||
run: |
|
run: |
|
||||||
if [ ! -x "$HOME/.cargo/bin/rustc" ]; then
|
|
||||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain stable --profile minimal --component clippy --component rustfmt
|
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain stable --profile minimal --component clippy --component rustfmt
|
||||||
fi
|
|
||||||
echo "$HOME/.cargo/bin" >> "$GITHUB_PATH"
|
echo "$HOME/.cargo/bin" >> "$GITHUB_PATH"
|
||||||
|
|
||||||
- name: Install cargo-binstall
|
|
||||||
run: |
|
|
||||||
command -v cargo-binstall >/dev/null 2>&1 || \
|
|
||||||
curl --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/cargo-bins/cargo-binstall/main/install-from-binstall-release.sh | bash
|
|
||||||
|
|
||||||
- name: Install cargo-make and cargo-audit
|
- name: Install cargo-make and cargo-audit
|
||||||
run: |
|
run: |
|
||||||
for crate in cargo-make cargo-audit; do
|
for crate in cargo-make cargo-audit; do
|
||||||
command -v "$crate" >/dev/null 2>&1 || cargo binstall -y --targets x86_64-unknown-linux-musl "$crate"
|
command -v "$crate" >/dev/null 2>&1 || cargo install "$crate"
|
||||||
done
|
done
|
||||||
|
|
||||||
- name: Run CI checks
|
- name: Run CI checks
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue