Bump browserify-sign from 4.2.1 to 4.2.2 #587
Workflow file for this run
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
name: Test CI | |
on: | |
push: | |
branches: [main] | |
tags: ["*"] | |
pull_request: | |
types: [opened, reopened, synchronize] | |
concurrency: | |
group: ${{github.workflow}}-${{github.ref}} | |
cancel-in-progress: true | |
jobs: | |
lint: | |
name: Run Linters | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
submodules: recursive | |
- name: Use Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 16.x | |
cache: "yarn" | |
- run: yarn install | |
- run: yarn lint:check | |
hardhat-test: | |
name: Run Hardhat Tests | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
submodules: recursive | |
- name: Use Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 16.x | |
cache: "yarn" | |
- run: yarn install | |
- run: yarn build | |
- run: yarn test | |
# TODO get this working | |
# hardhat-test-upgradeable: | |
# name: Run Hardhat Upgradeable Tests | |
# runs-on: ubuntu-latest | |
# steps: | |
# - uses: actions/checkout@v3 | |
# with: | |
# submodules: recursive | |
# | |
# - name: Use Node.js | |
# uses: actions/setup-node@v3 | |
# with: | |
# node-version: 16.x | |
# cache: "yarn" | |
# | |
# - run: yarn install | |
# - run: yarn build | |
# - run: yarn test:upgradeable | |
hardhat-coverage: | |
name: Run Hardhat Coverage | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
submodules: recursive | |
- name: Use Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 16.x | |
cache: "yarn" | |
- run: yarn install | |
- run: yarn build | |
- run: yarn coverage | |
- name: Submit coverage to Coveralls | |
uses: coverallsapp/github-action@master | |
with: | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
flag-name: hardhat | |
parallel: true | |
forge-test: | |
name: Run Forge Tests | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
submodules: recursive | |
- name: Install Foundry | |
uses: foundry-rs/foundry-toolchain@v1 | |
with: | |
version: nightly | |
- name: Install forge dependencies | |
run: forge install | |
- name: Run tests | |
run: forge test -vvv | |
env: | |
ETHEREUM_RPC_URL: ${{ secrets.ETHEREUM_RPC_URL }} | |
GOERLI_RPC_URL: ${{ secrets.GOERLI_RPC_URL }} | |
forge-coverage: | |
name: Run Forge Coverage | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
submodules: recursive | |
- name: Install Foundry | |
uses: foundry-rs/foundry-toolchain@v1 | |
with: | |
version: nightly | |
- name: Install forge dependencies | |
run: forge install | |
- name: Run coverage | |
run: yarn coverage:forge | |
env: | |
ETHEREUM_RPC_URL: ${{ secrets.ETHEREUM_RPC_URL }} | |
GOERLI_RPC_URL: ${{ secrets.GOERLI_RPC_URL }} | |
- name: Submit coverage to Coveralls | |
uses: coverallsapp/github-action@master | |
with: | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
path-to-lcov: ./lcov-filtered.info | |
flag-name: foundry | |
parallel: true | |
coverage-finish: | |
name: Finish Coverage Results | |
needs: [hardhat-coverage, forge-coverage] | |
if: ${{ always() }} | |
runs-on: ubuntu-latest | |
steps: | |
- name: Coveralls Finished | |
uses: coverallsapp/github-action@master | |
with: | |
parallel-finished: true |