Skip to content

Feat/fix solidity tests (#347) #565

Feat/fix solidity tests (#347)

Feat/fix solidity tests (#347) #565

name: Solidity Contracts
on:
push:
branches:
- main
paths:
- "onchain/solidity_contracts/**"
pull_request:
paths:
- "onchain/solidity_contracts/**"
permissions: read-all
jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
- name: Foundry version
run: forge --version
working-directory: onchain/solidity_contracts
- name: Build Solidity contracts
run: forge build
working-directory: onchain/solidity_contracts
- name: Test Solidity contracts
run: forge test
working-directory: onchain/solidity_contracts