Skip to content

Merge pull request #244 from Ithil-protocol/audit-fix-i6 #644

Merge pull request #244 from Ithil-protocol/audit-fix-i6

Merge pull request #244 from Ithil-protocol/audit-fix-i6 #644

Workflow file for this run

name: "CI"
env:
FOUNDRY_PROFILE: "ci"
on:
pull_request:
branches:
- "master"
push:
branches:
- "master"
jobs:
ci:
runs-on: "ubuntu-latest"
steps:
- name: "Check out the repo"
uses: "actions/checkout@v3"
with:
submodules: "recursive"
- name: "Install Foundry"
uses: "foundry-rs/foundry-toolchain@v1"
with:
version: "nightly"
- name: "Install Node.js"
uses: "actions/setup-node@v3"
with:
cache: "yarn"
node-version: "lts/*"
- name: "Install the Node.js dependencies"
run: "yarn install --immutable"
- name: "Run the linter"
run: "yarn lint"
- name: "Add lint summary"
run: |
echo "## Linting" >> $GITHUB_STEP_SUMMARY
echo "✅ Passed" >> $GITHUB_STEP_SUMMARY
- name: "Run the tests"
run: "forge test"
env:
ARBITRUM_RPC_URL: ${{ secrets.ARBITRUM_RPC_URL }}
- name: "Add test summary"
run: |
echo "## Tests" >> $GITHUB_STEP_SUMMARY
echo "✅ Passed" >> $GITHUB_STEP_SUMMARY