Template
fix: Removed massive cargo cache block, that should now be unused
This commit is contained in:
@@ -29,19 +29,6 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
tool: cargo-machete
|
tool: cargo-machete
|
||||||
|
|
||||||
- name: Cache cargo dependencies
|
|
||||||
uses: actions/cache@v4
|
|
||||||
with:
|
|
||||||
path: |
|
|
||||||
~/.cargo/bin/
|
|
||||||
~/.cargo/registry/index/
|
|
||||||
~/.cargo/registry/cache/
|
|
||||||
~/.cargo/git/db/
|
|
||||||
target/
|
|
||||||
key: ${{ runner.os }}-cargo-lint-${{ hashFiles('**/Cargo.lock') }}
|
|
||||||
restore-keys: |
|
|
||||||
${{ runner.os }}-cargo-lint-
|
|
||||||
|
|
||||||
- name: Check formatting
|
- name: Check formatting
|
||||||
run: cargo fmt --check
|
run: cargo fmt --check
|
||||||
|
|
||||||
@@ -68,19 +55,6 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
targets: x86_64-unknown-linux-musl
|
targets: x86_64-unknown-linux-musl
|
||||||
|
|
||||||
- name: Cache cargo dependencies
|
|
||||||
uses: actions/cache@v4
|
|
||||||
with:
|
|
||||||
path: |
|
|
||||||
~/.cargo/bin/
|
|
||||||
~/.cargo/registry/index/
|
|
||||||
~/.cargo/registry/cache/
|
|
||||||
~/.cargo/git/db/
|
|
||||||
target/
|
|
||||||
key: ${{ runner.os }}-cargo-lint-${{ hashFiles('**/Cargo.lock') }}
|
|
||||||
restore-keys: |
|
|
||||||
${{ runner.os }}-cargo-lint-
|
|
||||||
|
|
||||||
- name: Build for Linux x86 (GNU and MUSL)
|
- name: Build for Linux x86 (GNU and MUSL)
|
||||||
run: |
|
run: |
|
||||||
cargo build --target x86_64-unknown-linux-gnu --release --locked
|
cargo build --target x86_64-unknown-linux-gnu --release --locked
|
||||||
|
|||||||
Reference in New Issue
Block a user