Skip to content

fix(ci): add inline comment behavior guidelines for PR reviews #1606

fix(ci): add inline comment behavior guidelines for PR reviews

fix(ci): add inline comment behavior guidelines for PR reviews #1606

Workflow file for this run

name: Hardhat Tests
on:
push:
branches:
- main
pull_request:
jobs:
integration-tests:
name: Unit Tests
runs-on: ubuntu-latest
steps:
- uses: bullfrogsec/bullfrog@1831f79cce8ad602eef14d2163873f27081ebfb3 # v0.8.4
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
with:
submodules: recursive
- uses: actions/setup-node@7c12f8017d5436eb855f1ed4399f037a36fbd9e8 # v2
with:
node-version: 18.x
registry-url: https://registry.npmjs.org
- name: Install Yarn
run: npm install -g yarn
- id: yarn-cache
run: echo "::set-output name=dir::$(yarn cache dir)"
- uses: actions/cache@6f8efc29b200d32929f49075959781ed54ec270c # v3.5.0
with:
path: ${{ steps.yarn-cache.outputs.dir }}
key: yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
yarn-
- name: Install dependencies
run: yarn install --frozen-lockfile
- name: Install Foundry
uses: foundry-rs/foundry-toolchain@50d5a8956f2e319df19e6b57539d7e2acb9f8c1e # v1.5.0
with:
version: v1.4.3
# This is required separately from yarn test because it generates the typechain definitions
- name: Compile
run: yarn compile
- name: Run Integration tests
run: yarn test:hardhat
env:
INFURA_API_KEY: ${{ secrets.INFURA_API_KEY }}