Skip to content

Commit

Permalink
ci: remove unneeded cleaning steps
Browse files Browse the repository at this point in the history
  • Loading branch information
da2ce7 committed Oct 3, 2024
1 parent 89ee5bd commit e3e1d66
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 30 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:

strategy:
matrix:
toolchain: [stable, nightly]
toolchain: [nightly, stable]

steps:
- id: checkout
Expand Down
7 changes: 1 addition & 6 deletions .github/workflows/e2e.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:

strategy:
matrix:
toolchain: [stable, nightly]
toolchain: [nightly, stable]

steps:
- id: checkout
Expand All @@ -34,11 +34,6 @@ 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-mysql
name: Run Integration Tests (MySQL)
run: ./contrib/dev-tools/container/e2e/mysql/run-e2e-tests.sh
29 changes: 6 additions & 23 deletions .github/workflows/testing.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,23 +28,18 @@ 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

check:
check:
name: Static Analysis
runs-on: ubuntu-latest
needs: format

strategy:
matrix:
toolchain: [stable, nightly]
toolchain: [nightly, stable]

steps:
- id: checkout
Expand All @@ -62,11 +57,6 @@ 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: check
name: Run Build Checks
run: cargo check --tests --benches --examples --workspace --all-targets --all-features
Expand All @@ -81,14 +71,16 @@ jobs:
RUSTDOCFLAGS: "-D warnings"
run: cargo doc --no-deps --bins --examples --workspace --all-features



unit:
name: Units
runs-on: ubuntu-latest
needs: check

strategy:
matrix:
toolchain: [stable, nightly]
toolchain: [nightly, stable]

steps:
- id: checkout
Expand All @@ -106,11 +98,6 @@ 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: imdl
name: Install Intermodal
run: cargo install imdl
Expand All @@ -130,7 +117,7 @@ jobs:

strategy:
matrix:
toolchain: [stable, nightly]
toolchain: [nightly, stable]

steps:
- id: checkout
Expand All @@ -147,10 +134,6 @@ 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-sqlite
name: Run Integration Tests (SQLite)
Expand Down

0 comments on commit e3e1d66

Please sign in to comment.