Skip to content

Commit

Permalink
fix: ci
Browse files Browse the repository at this point in the history
  • Loading branch information
DhairyaSethi committed May 29, 2023
1 parent c5e4053 commit c925af9
Showing 1 changed file with 19 additions and 4 deletions.
23 changes: 19 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
push:
branches: [main]
pull_request:
branches: [main,dev/foundry]
branches: [main, dev/foundry]
workflow_dispatch:

jobs:
Expand All @@ -22,6 +22,21 @@ jobs:
run: forge build
- name: Run tests
run: forge test -vvv
hardhat-tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- name: Get node.js
uses: actions/setup-node@v3
with:
node-version: "16.x"
cache: "yarn"
- name: Build
run: yarn build
- name: Run tests
run: yarn test
coverage:
runs-on: ubuntu-latest
steps:
Expand All @@ -44,9 +59,9 @@ jobs:
uses: actions/setup-node@v3
with:
node-version: "18.x"
cache: "npm"
- run: npm ci
- run: npm run lint
cache: "yarn"
- run: yarn
- run: yarn lint
slither:
runs-on: ubuntu-latest
steps:
Expand Down

0 comments on commit c925af9

Please sign in to comment.