Skip to content

Bump braces from 3.0.2 to 3.0.3 in /src-upgradeable/lib-upgradeable/utility-contracts/lib/openzeppelin-contracts #658

Bump braces from 3.0.2 to 3.0.3 in /src-upgradeable/lib-upgradeable/utility-contracts/lib/openzeppelin-contracts

Bump braces from 3.0.2 to 3.0.3 in /src-upgradeable/lib-upgradeable/utility-contracts/lib/openzeppelin-contracts #658

Workflow file for this run

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