Skip to content

Fix/verify bytecode ci #33

Fix/verify bytecode ci

Fix/verify bytecode ci #33

---
name: Verify deployed contracts' bytecode
on:
pull_request:
branches:
- "master"
jobs:
assert-bytecode:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
persist-credentials: false
- name: Install poetry
run: pipx install poetry
- name: Setup python
uses: actions/setup-python@v4
with:
python-version: "3.10"
cache: poetry
- name: Install python dependencies
run: poetry install
- name: Compile contracts
run: poetry run brownie compile
- name: Verify bytecode of contracts
uses: lidofinance/action-verify-bytecode@master
with:
file: artifacts.json