Skip to content

Commit

Permalink
Merge torrust#339: ci: avoid rust cargo check bug
Browse files Browse the repository at this point in the history
67555d9 ci: avoid rust `cargo check` bug (Cameron Garnham)

Pull request description:

ACKs for top commit:
  da2ce7:
    ACK 67555d9

Tree-SHA512: 217ea4d4f690bf920f9dd0a6ad5b41f7ef370f5e2641a872e858a3d0c138172b5586ffe8b381e4668e66183daa351306cd4c9302adb0eaa87b3d02a9569cad96
  • Loading branch information
da2ce7 committed Oct 14, 2023
2 parents c5f11a1 + 67555d9 commit 5c8b74f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/coverage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,13 +55,14 @@ jobs:
name: Install Intermodal
run: cargo install imdl

- id: check
name: Run Build Checks
run: cargo check --workspace --all-targets --all-features
# Temporary Disabled to avoid Rust Compiler Bug
# - id: check
# name: Run Build Checks
# run: cargo check --tests --benches --examples --workspace --all-targets --all-features

- id: test
name: Run Unit Tests
run: cargo test --workspace --all-targets --all-features
run: cargo test --tests --benches --examples --workspace --all-targets --all-features

- id: coverage
name: Generate Coverage Report
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/testing.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,10 @@ jobs:
name: Enable Workflow Cache
uses: Swatinem/rust-cache@v2

- id: check
name: Run Build Checks
run: cargo check --tests --benches --examples --workspace --all-targets --all-features
# Temporary Disabled to avoid Rust Compiler Bug
# - id: check
# name: Run Build Checks
# run: cargo check --tests --benches --examples --workspace --all-targets --all-features

- id: lint
name: Run Lint Checks
Expand Down

0 comments on commit 5c8b74f

Please sign in to comment.