Template
Compare commits
2
Commits
0f22adbff4
...
8c529f7e8b
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
8c529f7e8b | ||
|
|
bc3b902d04 |
@@ -19,6 +19,9 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
components: rustfmt, clippy
|
components: rustfmt, clippy
|
||||||
|
|
||||||
|
- name: Update Debian Package List
|
||||||
|
run: apt update
|
||||||
|
|
||||||
- name: Install cargo sort
|
- name: Install cargo sort
|
||||||
uses: taiki-e/install-action@v2
|
uses: taiki-e/install-action@v2
|
||||||
with:
|
with:
|
||||||
@@ -29,19 +32,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 +58,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