-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into release-please--branches--main--components--…
…protocol
- Loading branch information
Showing
31 changed files
with
312 additions
and
417 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
name: Slither Analysis | ||
|
||
on: | ||
workflow_dispatch: | ||
pull_request: | ||
paths: | ||
- "packages/protocol/**" | ||
push: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
analyze: | ||
runs-on: [taiko-runner] | ||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Install pnpm dependencies | ||
uses: ./.github/actions/install-pnpm-dependencies | ||
|
||
# Workaround to prevent slither-action from trying to install deps with `package.json`, | ||
# and since there is no lockfile it defaults `npm install` which fails because we use pnpm. | ||
# See: https://github.com/crytic/slither-action/issues/44#issuecomment-1931104731 | ||
- name: Remove package.json | ||
run: rm packages/protocol/package.json | ||
|
||
- name: Run Slither | ||
uses: crytic/[email protected] | ||
id: slither | ||
with: | ||
target: packages/protocol | ||
sarif: results.sarif | ||
fail-on: config | ||
slither-config: packages/protocol/slither.config.json | ||
slither-args: --triage-database packages/protocol/slither.db.json | ||
|
||
- name: Upload SARIF file | ||
uses: github/codeql-action/upload-sarif@v3 | ||
with: | ||
sarif_file: ${{ steps.slither.outputs.sarif }} |
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,13 @@ | ||
name: Check for typos | ||
|
||
on: [pull_request] | ||
|
||
jobs: | ||
check-for-typos: | ||
runs-on: [taiko-runner] | ||
steps: | ||
- name: Checkout the repository | ||
uses: actions/checkout@v4 | ||
|
||
- name: Check for typos | ||
uses: crate-ci/typos@master |
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,15 @@ | ||
[files] | ||
# Temporarily commenting a lot so that at least *.sol files are included. | ||
extend-exclude = [ | ||
"CHANGELOG.md", | ||
"*.go", | ||
"*.html", | ||
"*.md", | ||
"*.ts", | ||
"*.css", | ||
"*.yaml", | ||
"*.yml", | ||
"*.json", | ||
"**/automata-attestation/**", | ||
"**/thirdparty/**", | ||
] |
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
Oops, something went wrong.