Skip to content

Security.md creation (#905) #2757

Security.md creation (#905)

Security.md creation (#905) #2757

name: test-contracts
on:
push:
pull_request:
types: [opened, reopened]
env:
FOUNDRY_PROFILE: ci
concurrency:
group: ${{github.workflow}}-${{github.ref}}
cancel-in-progress: true
jobs:
check:
name: Foundry Project
runs-on: ubuntu-22.04
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
working-directory: ./contracts
- name: Run tests
run: forge test -vvv
working-directory: ./contracts
- name: Run snapshot
run: forge snapshot
working-directory: ./contracts