mirror of
https://github.com/Yuyi-Oak/BlueArchiveToolkit.git
synced 2026-07-22 04:06:44 +08:00
@@ -52,6 +52,7 @@ jobs:
|
|||||||
- name: Show tool versions
|
- name: Show tool versions
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
|
source /var/lib/act_runner/env.sh
|
||||||
set -euo pipefail
|
set -euo pipefail
|
||||||
command -v git
|
command -v git
|
||||||
rustc --version
|
rustc --version
|
||||||
@@ -61,20 +62,20 @@ jobs:
|
|||||||
|
|
||||||
- name: Check formatting
|
- name: Check formatting
|
||||||
shell: bash
|
shell: bash
|
||||||
run: cargo fmt --all -- --check
|
run: source /var/lib/act_runner/env.sh && cargo fmt --all -- --check
|
||||||
|
|
||||||
- name: Check workspace
|
- name: Check workspace
|
||||||
shell: bash
|
shell: bash
|
||||||
run: cargo check --workspace --locked
|
run: source /var/lib/act_runner/env.sh && cargo check --workspace --locked
|
||||||
|
|
||||||
- name: Build workspace
|
- name: Build workspace
|
||||||
shell: bash
|
shell: bash
|
||||||
run: cargo build --workspace --locked
|
run: source /var/lib/act_runner/env.sh && cargo build --workspace --locked
|
||||||
|
|
||||||
- name: Run clippy
|
- name: Run clippy
|
||||||
shell: bash
|
shell: bash
|
||||||
run: cargo clippy --workspace --all-targets --locked -- -D warnings
|
run: source /var/lib/act_runner/env.sh && cargo clippy --workspace --all-targets --locked -- -D warnings
|
||||||
|
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
shell: bash
|
shell: bash
|
||||||
run: cargo test --workspace --locked
|
run: source /var/lib/act_runner/env.sh && cargo test --workspace --locked
|
||||||
|
|||||||
Reference in New Issue
Block a user