Skip to content

Commit 9599eda

Browse files
chore: refactor CI workflow to separate linting into its own job
1 parent b38f864 commit 9599eda

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,16 @@ on:
44
pull_request:
55

66
jobs:
7-
lint-and-build:
8-
name: Lint and Build
9-
uses: ./.github/workflows/lint-and-build.yml
7+
lint:
8+
name: Lint
9+
uses: ./.github/workflows/lint.yml
1010

1111
build-android:
1212
name: Build Android
13-
needs: lint-and-build
13+
needs: lint
1414
uses: ./.github/workflows/build-android.yml
1515

1616
build-ios:
1717
name: Build iOS
18-
needs: lint-and-build
18+
needs: lint
1919
uses: ./.github/workflows/build-ios.yml
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
name: Lint and Build
1+
name: Lint
22

33
on:
44
workflow_call:
55

66
jobs:
7-
lint-and-build:
8-
name: Lint, Type Check & Build
7+
lint:
8+
name: Lint
99
runs-on: ubuntu-latest
1010

1111
steps:

0 commit comments

Comments
 (0)