-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e750946
commit 84c5c60
Showing
10 changed files
with
139 additions
and
187 deletions.
There are no files selected for viewing
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
18 changes: 12 additions & 6 deletions
18
.github/workflows/pr-checks-golang.yml → .github/workflows/pr-checks-backend.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
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,42 @@ | ||
name: check / frontend | ||
|
||
on: | ||
push: | ||
branches: [main] | ||
paths: | ||
- '.github/workflow/pr-checks-frontend.yml' | ||
- '**/*.ts' | ||
- '**/*.tsx' | ||
- '**/yarn.lock' | ||
- '**/package.json' | ||
pull_request: | ||
branches: [main] | ||
paths: | ||
- '.github/workflow/pr-checks-frontend.yml' | ||
- '**/*.ts' | ||
- '**/*.tsx' | ||
- '**/yarn.lock' | ||
- '**/package.json' | ||
|
||
jobs: | ||
run-check: | ||
name: check | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
scenario: ["make vm-frontend-plugin-build", "yarn test"] | ||
steps: | ||
- name: Code checkout | ||
uses: actions/checkout@v4 | ||
|
||
- name: Set up node | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: 18.13.0 | ||
|
||
- name: Install all dependencies | ||
run: yarn install | ||
|
||
- name: Run | ||
run: | | ||
${{ matrix.scenario }} |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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,54 @@ | ||
name: codeql / backend | ||
|
||
on: | ||
push: | ||
branches: [main] | ||
paths: | ||
- .github/workflows/pr-checks-backend.yml | ||
- go.* | ||
- vendor/** | ||
- pkg/** | ||
pull_request: | ||
# The branches below must be a subset of the branches above | ||
branches: [main] | ||
paths: | ||
- .github/workflows/pr-checks-backend.yml | ||
- go.* | ||
- vendor/** | ||
- pkg/** | ||
|
||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
analyze: | ||
name: Analyze | ||
runs-on: ubuntu-latest | ||
permissions: | ||
actions: read | ||
contents: read | ||
security-events: write | ||
|
||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v4 | ||
|
||
- name: Set up Go | ||
uses: actions/setup-go@v5 | ||
with: | ||
go-version: 1.21.6 | ||
check-latest: true | ||
cache: true | ||
if: ${{ matrix.language == 'go' }} | ||
|
||
- name: Initialize CodeQL | ||
uses: github/codeql-action/init@v3 | ||
with: | ||
languages: go | ||
|
||
- name: Autobuild | ||
uses: github/codeql-action/autobuild@v3 | ||
|
||
- name: Perform CodeQL Analysis | ||
uses: github/codeql-action/analyze@v3 |
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
Oops, something went wrong.