Skip to content

Commit

Permalink
Merge torrust#340: ci: temp: clean before build
Browse files Browse the repository at this point in the history
047359d ci: temp: clean before build (Cameron Garnham)

Pull request description:

ACKs for top commit:
  da2ce7:
    ACK 047359d

Tree-SHA512: 6a0eee04cddf50e4c9e7ca63049cb0dd144abbea2503539c7d7effa6daff48fba76f6b66cc252d2f64ce74261b89c1ce137d9a78fa20c415e477ffb1bca0446a
  • Loading branch information
da2ce7 committed Oct 14, 2023
2 parents 5c8b74f + 047359d commit 0491148
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 8 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/coverage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,11 @@ jobs:
name: Enable Workflow Cache
uses: Swatinem/rust-cache@v2

# Temporary Cleaning to avoid Rust Compiler Bug
- id: clean
name: Make Build Clean
run: cargo clean

- id: tools
name: Install Tools
uses: taiki-e/install-action@v2
Expand All @@ -55,10 +60,9 @@ jobs:
name: Install Intermodal
run: cargo install imdl

# 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: check
name: Run Build Checks
run: cargo check --tests --benches --examples --workspace --all-targets --all-features

- id: test
name: Run Unit Tests
Expand Down
27 changes: 23 additions & 4 deletions .github/workflows/testing.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,11 @@ jobs:
name: Enable Workflow Cache
uses: Swatinem/rust-cache@v2

# Temporary Cleaning to avoid Rust Compiler Bug
- id: clean
name: Make Build Clean
run: cargo clean

- id: format
name: Run Formatting-Checks
run: cargo fmt --check
Expand Down Expand Up @@ -57,10 +62,14 @@ jobs:
name: Enable Workflow Cache
uses: Swatinem/rust-cache@v2

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

- 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 Expand Up @@ -97,6 +106,11 @@ jobs:
name: Enable Job Cache
uses: Swatinem/rust-cache@v2

# Temporary Cleaning to avoid Rust Compiler Bug
- id: clean
name: Make Build Clean
run: cargo clean

- id: tools
name: Install Tools
uses: taiki-e/install-action@v2
Expand Down Expand Up @@ -136,6 +150,11 @@ jobs:
name: Enable Job Cache
uses: Swatinem/rust-cache@v2

# Temporary Cleaning to avoid Rust Compiler Bug
- id: clean
name: Make Build Clean
run: cargo clean

- id: test
name: Run Integration Tests
run: ./docker/bin/e2e/run-e2e-tests.sh

0 comments on commit 0491148

Please sign in to comment.