Skip to content

Commit

Permalink
add workflow_call
Browse files Browse the repository at this point in the history
  • Loading branch information
grablack committed Dec 14, 2023
1 parent dffcfcb commit 11dbc1c
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: Build
on: [pull_request, workflow_dispatch]
on: [pull_request, workflow_dispatch, workflow_call]

concurrency:
group: build-${{ github.event.number }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: Lint
on: [pull_request, workflow_dispatch]
on: [pull_request, workflow_dispatch, workflow_call]

concurrency:
group: lint-${{ github.event.number }}
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@ env:
SIGNING_KEY_FILE_PATH: /home/runner/secretKey.gpg

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

# test:
# uses: ./.github/workflows/test.yml
test:
uses: ./.github/workflows/test.yml

# build:
# uses: ./.github/workflows/build.yml
build:
uses: ./.github/workflows/build.yml

build:
name: Build
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: Test
on: [pull_request, workflow_dispatch]
on: [pull_request, workflow_dispatch, workflow_call]

concurrency:
group: test-${{ github.event.number }}
Expand Down

0 comments on commit 11dbc1c

Please sign in to comment.