-
-
Notifications
You must be signed in to change notification settings - Fork 78
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Infra: Implement concurrency groups for wfs (#138)
- Fix BE build not running on main - Fix charts repo name - Ditch yaml anchors
- Loading branch information
Showing
23 changed files
with
182 additions
and
75 deletions.
There are no files selected for viewing
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
name: "Backend: Main: Build and test" | ||
|
||
on: | ||
push: | ||
branches: [ "main" ] | ||
paths: | ||
- "pom.xml" | ||
- "contract/**" | ||
- "api/**" | ||
- "serde-api/**" | ||
|
||
permissions: | ||
contents: read | ||
checks: write | ||
pull-requests: write | ||
|
||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.ref }} | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
build: | ||
uses: ./.github/workflows/backend_tests.yml | ||
with: | ||
event_name: ${{ github.event_name }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
name: "Backend: PR: Build and test" | ||
|
||
on: | ||
|
||
pull_request_target: | ||
types: [ "opened", "reopened", "synchronize" ] | ||
paths: | ||
- "pom.xml" | ||
- "contract/**" | ||
- "api/**" | ||
- "serde-api/**" | ||
|
||
permissions: | ||
contents: read | ||
checks: write | ||
pull-requests: write | ||
|
||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.ref }} | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
build: | ||
uses: ./.github/workflows/backend_tests.yml | ||
with: | ||
event_name: ${{ github.event_name }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
name: "Frontend: Main: Build and test" | ||
|
||
on: | ||
push: | ||
branches: [ "main" ] | ||
paths: | ||
- "contract/**" | ||
- "frontend/**" | ||
|
||
permissions: | ||
contents: read | ||
|
||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.ref }} | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
build: | ||
uses: ./.github/workflows/frontend_tests.yml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
name: "Frontend: PR: Build and test" | ||
|
||
on: | ||
|
||
pull_request_target: | ||
types: [ "opened", "reopened", "synchronize" ] | ||
paths: | ||
- "contract/**" | ||
- "frontend/**" | ||
|
||
permissions: | ||
contents: read | ||
|
||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.ref }} | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
build: | ||
uses: ./.github/workflows/frontend_tests.yml |
20 changes: 6 additions & 14 deletions
20
.github/workflows/frontend.yaml → .github/workflows/frontend_tests.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,32 +1,24 @@ | ||
name: "Frontend: PR/main build & test" | ||
name: "Frontend: build and test" | ||
|
||
on: | ||
push: | ||
branches: [ "main" ] | ||
paths: | ||
- "contract/**" | ||
- "frontend/**" | ||
workflow_call: | ||
|
||
pull_request_target: | ||
types: [ "opened", "reopened", "synchronize" ] | ||
paths: | ||
- "contract/**" | ||
- "frontend/**" | ||
permissions: | ||
contents: read | ||
|
||
jobs: | ||
build-and-test: | ||
env: | ||
CI: true | ||
NODE_ENV: dev | ||
runs-on: ubuntu-latest | ||
permissions: # TODO remove when public | ||
contents: read | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
# Disabling shallow clone is recommended for improving relevancy of reporting | ||
fetch-depth: 0 | ||
ref: ${{ github.event.pull_request.head.sha }} | ||
token: ${{ github.token }} # TODO remove when public | ||
token: ${{ github.token }} | ||
- uses: pnpm/[email protected] | ||
with: | ||
version: 8.6.12 | ||
|
Oops, something went wrong.