Skip to content

Commit

Permalink
chore: refactor github workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
shifty11 committed Oct 9, 2023
1 parent 932e181 commit ccd10d9
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
name: lint
on: push
on:
workflow_call:

jobs:
buf:
Expand Down
9 changes: 9 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
name: run all
on: push

jobs:
lint:
uses: ./.github/workflows/lintl.yml

test:
uses: ./.github/workflows/test.yml
3 changes: 2 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
name: test
on: push
on:
workflow_call:

jobs:
test:
Expand Down

0 comments on commit ccd10d9

Please sign in to comment.