Skip to content

Commit

Permalink
CI: Test reusable actions
Browse files Browse the repository at this point in the history
  • Loading branch information
Mintoo200 committed Mar 14, 2024
1 parent 8e2a9e1 commit 372430b
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
on: [push, workflow_dispatch]

jobs:
run-tests:
uses: ./.github/workflows/tests.yml
build:
uses: ./.github/workflows/build.yml
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: 'Run tests'

on: [push, workflow_dispatch]
on: workflow_call

jobs:
build:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: 'Run tests'

on: [push, workflow_dispatch]
on: workflow_call

jobs:
run-tests:
Expand Down

0 comments on commit 372430b

Please sign in to comment.