-
Notifications
You must be signed in to change notification settings - Fork 5
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
Showing
123 changed files
with
2,726 additions
and
776 deletions.
There are no files selected for viewing
Validating CODEOWNERS rules …
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,30 +1 @@ | ||
# This is a comment. | ||
|
||
# Each line is a file pattern followed by one or more owners. | ||
|
||
# These owners will be the default owners for everything in the repo. | ||
* @default-owner | ||
|
||
# Order is important. The last matching pattern has the most precedence. | ||
|
||
# To set ownership of a particular folder, add a line like this: | ||
/docs/ @documentation-team | ||
|
||
# To set ownership of all .js files in the src/js/ directory, add a line like this: | ||
/src/js/*.js @js-developers | ||
|
||
# You can also specify individual users. This will make @octocat the owner of any .md files at the root of the repository: | ||
/*.md @octocat | ||
|
||
# In this example, @doctocat owns any files in the /apps/ directory and any of its subdirectories. | ||
/apps/ @doctocat | ||
|
||
# The `@backend-team` team owns any files in the `/api/` directory in the root of your repository and any of its subdirectories. | ||
/api/ @backend-team | ||
|
||
# The `@frontend-team` team owns any files in the `/web/` directory in the root of your repository and any of its subdirectories. | ||
/web/ @frontend-team | ||
|
||
# Add this line at the end of the file to always require pull request reviews | ||
# when someone on the team is not an owner and the pull request modifies code owned by the team. | ||
* @global-owner | ||
@0xPolygon/core-cdk |
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,23 @@ | ||
name: Lint | ||
on: | ||
push: | ||
branches: | ||
- main | ||
- develop | ||
- update-external-dependencies | ||
- 'release/**' | ||
pull_request: | ||
jobs: | ||
lint: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Install Go | ||
uses: actions/setup-go@v3 | ||
with: | ||
go-version: 1.21.x | ||
- name: Checkout code | ||
uses: actions/checkout@v3 | ||
- name: Lint | ||
run: | | ||
make install-linter | ||
make lint |
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
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,40 @@ | ||
name: Test Unit and SonarCloud analysis | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
- develop | ||
- 'release/**' | ||
pull_request: | ||
workflow_dispatch: {} | ||
|
||
jobs: | ||
test-unit: | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
go-version: [1.22.4] | ||
goarch: ["amd64"] | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis | ||
|
||
- name: Install Go | ||
uses: actions/setup-go@v5 | ||
with: | ||
go-version: ${{ matrix.go-version }} | ||
env: | ||
GOARCH: ${{ matrix.goarch }} | ||
|
||
- name: Test | ||
run: make test-unit | ||
|
||
- name: Analyze with SonarCloud | ||
uses: sonarsource/sonarcloud-github-action@master | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} |
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
Oops, something went wrong.