forked from circlefin/evm-cctp-contracts
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(ci): olympix scan integration (circlefin#49)
Summary: Introduces a new Github Action workflow to integrate the Olympix Static Analysis tool for Solidity code scanning. - Adds .github/workflows/ci-olympix.yml that uses a reusable workflow from [security-seceng-templates](https://github.com/circlefin/security-seceng-templates/blob/master/.github/workflows/olympix_scan.yml) - Workflow is triggered on every pull request as well as scheduled on a weekly basis.(Monday)
- Loading branch information
1 parent
7591b34
commit 3d6c2ce
Showing
3 changed files
with
31 additions
and
10 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,13 @@ | ||
name: "Olympix Scan" | ||
on: | ||
pull_request: | ||
branches: [ "master" ] | ||
workflow_dispatch: | ||
schedule: | ||
- cron: '31 14 * * 1' # Every Monday 2:31PM UTC | ||
|
||
jobs: | ||
run_olympix: | ||
if: ${{ github.repository_owner == 'circlefin' }} | ||
uses: circlefin/security-seceng-templates/.github/workflows/olympix_scan.yml@v1 | ||
|
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,12 +1,14 @@ | ||
{ | ||
"editor.formatOnSave": true, | ||
"solidity.compilerOptimization": 200, | ||
"solidity.enabledAsYouTypeCompilationErrorCheck": true, | ||
"solidity.compileUsingRemoteVersion": "v0.7.6+commit.7338295f", | ||
"solidity.formatter": "prettier", | ||
"solidity.linter": "solhint", | ||
"solidity.validationDelay": 1500, | ||
"[solidity]": { | ||
"editor.tabSize": 4, | ||
} | ||
"editor.formatOnSave": true, | ||
"solidity.compilerOptimization": 200, | ||
"solidity.enabledAsYouTypeCompilationErrorCheck": true, | ||
"solidity.compileUsingRemoteVersion": "v0.7.6+commit.7338295f", | ||
"solidity.formatter": "prettier", | ||
"solidity.linter": "solhint", | ||
"solidity.validationDelay": 1500, | ||
"[solidity]": { | ||
"editor.tabSize": 4, | ||
}, | ||
"security.olympix.project.includePath": "/src", | ||
"security.olympix.project.testsPath": "/test" | ||
} |
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