Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 8 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,13 @@ jobs:
- name: Install Rust
uses: dtolnay/rust-toolchain@89b12181fb390509a0842a86cc55eeb8eb928c1d # stable

- name: Verify Cargo.lock is up to date
run: cargo metadata --locked --all-features --format-version 1 > /dev/null

- uses: Swatinem/rust-cache@6323deb102c322ba6fcbdcafc7e3dddab59af2b6 # v2.9.2

- name: Build (release)
run: cargo build --release
run: cargo build --locked --release
Comment thread
AlexanderWagnerDev marked this conversation as resolved.

- name: Run tests
run: cargo test --release
Expand All @@ -46,6 +49,9 @@ jobs:
- name: Install Rust
uses: dtolnay/rust-toolchain@89b12181fb390509a0842a86cc55eeb8eb928c1d # stable

- name: Verify Cargo.lock is up to date
run: cargo metadata --locked --all-features --format-version 1 > /dev/null

- uses: Swatinem/rust-cache@6323deb102c322ba6fcbdcafc7e3dddab59af2b6 # v2.9.2

- name: Resolve version
Expand All @@ -57,7 +63,7 @@ jobs:
echo "tag=$REF" >> "$GITHUB_OUTPUT"

- name: Build release binary
run: cargo build --release
run: cargo build --locked --release

- name: Stage install tree
run: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@ jobs:
run: cargo fmt --check

- name: Clippy
run: cargo clippy --all-targets --features test-support -- -D warnings
run: cargo clippy --locked --all-targets --features test-support -- -D warnings

- name: Build
run: cargo build --verbose
run: cargo build --locked --verbose
Comment thread
AlexanderWagnerDev marked this conversation as resolved.

- name: Run tests
run: cargo test --verbose --features test-support -- --test-threads=1
Expand Down
Loading