Commit 066f6c8b authored by Elena Gesheva's avatar Elena Gesheva Committed by GitHub

Run codechecks in CI for gas cost benchmarking (#672)

* Run codechecks in CI for gas cost benchmarking

* Add CC_SECRET env var
parent 67380c11
......@@ -61,6 +61,12 @@ jobs:
- name: Print gas report
run: cat packages/contracts/gas-report.txt
- name: Run codechecks
working-directory: ./packages/contracts
run: yarn codechecks
env:
CC_SECRET: ${{ secrets.CC_SECRET }}
test-coverage:
name: Generate test coverage
runs-on: ubuntu-latest
......@@ -106,7 +112,6 @@ jobs:
files: ./packages/contracts/coverage.json
fail_ci_if_error: false
verbose: true
lint:
name: Linting
runs-on: ubuntu-latest
......
checks:
- name: eth-gas-reporter/codechecks
\ No newline at end of file
......@@ -57,6 +57,7 @@
"solidity-coverage": "^0.7.16"
},
"devDependencies": {
"@codechecks/client": "^0.1.10",
"@eth-optimism/hardhat-ovm": "^0.1.0",
"@eth-optimism/smock": "^1.1.1",
"@nomiclabs/hardhat-ethers": "^2.0.1",
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment