Skip to content

Commit

Permalink
Run CI for draft PRs (#926)
Browse files Browse the repository at this point in the history
We initially disabled running the CI for draft PRs in an attempt to save
costs: github hosted runners are a bit pricey. But since then we
switched to self-hosted runners on PCs that are mostly on anyway.

Co-authored-by: bing <[email protected]>
  • Loading branch information
matthiasgoergens and eightfilms authored Nov 27, 2023
1 parent d3db446 commit 799cbf6
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ jobs:
secrets: inherit

cargo-test:
if: github.event.pull_request.draft == false
needs: check-runner
runs-on: ${{ needs.check-runner.outputs.runner-label }}
steps:
Expand All @@ -50,7 +49,6 @@ jobs:
run: MOZAK_STARK_DEBUG=true cargo nextest run --locked --all-targets

cargo-clippy:
if: github.event.pull_request.draft == false
needs: check-runner
runs-on: ${{ needs.check-runner.outputs.runner-label }}
steps:
Expand All @@ -69,7 +67,6 @@ jobs:
run: cargo clippy --all-features -- -D warnings

cargo-build-examples:
if: github.event.pull_request.draft == false
needs: check-runner
runs-on: ${{ needs.check-runner.outputs.runner-label }}
steps:
Expand All @@ -87,7 +84,6 @@ jobs:
git ls-files -z '*/Cargo.toml' | xargs -0 --max-args=1 -- cargo build --manifest-path
cargo-fmt:
if: github.event.pull_request.draft == false
needs: check-runner
runs-on: ${{ needs.check-runner.outputs.runner-label }}
steps:
Expand All @@ -103,7 +99,6 @@ jobs:
run: cargo fmt --all --check

taplo-fmt:
if: github.event.pull_request.draft == false
needs: check-runner
runs-on: ${{ needs.check-runner.outputs.runner-label }}
steps:
Expand Down

0 comments on commit 799cbf6

Please sign in to comment.