Skip to content

Commit 0108d1d

Browse files
authored
Separate e2e format and typecheck jobs (#914)
Ticket Resolves #813 Changes - separate e2e format and typecheck jobs in github actions with matrix strategy - add fail-fast:false to allow all e2e static checks to run regardless of one failure - add workflow_dispatch to manually trigger static checks [to be tested post merge]
1 parent 72a07b7 commit 0108d1d

File tree

1 file changed

+13
-7
lines changed

1 file changed

+13
-7
lines changed

.github/workflows/ci-e2e-static-checks.yml

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,20 @@ on:
88
push:
99
branches:
1010
- main
11+
workflow_dispatch:
1112

1213
jobs:
13-
format-check:
14-
name: Format check
14+
static-checks:
15+
name: ${{ matrix.check.name }}
1516
runs-on: ubuntu-latest
17+
strategy:
18+
fail-fast: false
19+
matrix:
20+
check:
21+
- name: Format
22+
command: make e2e-format-check-native
23+
- name: Typecheck
24+
command: make e2e-type-check-native
1625

1726
steps:
1827
- name: Checkout code
@@ -34,8 +43,5 @@ jobs:
3443
if: steps.cache-node.outputs.cache-hit != 'true'
3544
run: make e2e-setup-ci
3645

37-
- name: Check formatting
38-
run: make e2e-format-check-native
39-
40-
- name: Check typing
41-
run: make e2e-type-check-native
46+
- name: ${{ matrix.check.name }}
47+
run: ${{ matrix.check.command }}

0 commit comments

Comments
 (0)