Skip to content

Commit 7f7d278

Browse files
authored
ci: only have a single CI job and run it everywhere (#247)
1 parent ed32117 commit 7f7d278

File tree

3 files changed

+4
-70
lines changed

3 files changed

+4
-70
lines changed

.github/workflows/check-main.yml

Lines changed: 0 additions & 47 deletions
This file was deleted.

.github/workflows/check-push.yml

Lines changed: 0 additions & 16 deletions
This file was deleted.
Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,16 @@
1-
name: Rust PR
1+
name: Continuous Integration
22

33
on:
4+
push:
5+
branches:
6+
- main
47
pull_request:
5-
# Default types for PR are opened, synchronize, reopened. Need
6-
# ready_for_review to catch a PR that is moving from draft to not-draft
7-
types: [opened, synchronize, reopened, ready_for_review]
88

99
env:
1010
CARGO_TERM_COLOR: always
1111

1212
jobs:
1313
check-build:
14-
if: github.event.pull_request.draft == false
1514
runs-on: ubuntu-latest
1615
steps:
1716
- name: Checkout
@@ -20,7 +19,6 @@ jobs:
2019
- name: Build
2120
run: make check-build
2221
actor-tests:
23-
if: github.event.pull_request.draft == false
2422
runs-on: ubuntu-latest
2523
steps:
2624
- name: Checkout
@@ -29,7 +27,6 @@ jobs:
2927
- name: Test Actors
3028
run: make test-actors
3129
code-coverage:
32-
if: github.event.pull_request.draft == false
3330
runs-on: ubuntu-latest
3431
steps:
3532
- name: Checkout

0 commit comments

Comments
 (0)