Skip to content

Merge pull request #131 from Hats-Protocol/funding-json #231

Merge pull request #131 from Hats-Protocol/funding-json

Merge pull request #131 from Hats-Protocol/funding-json #231

Workflow file for this run

name: ci
on:
push:
branches:
- main
- develop
pull_request:
jobs:
lint:
name: "Markdown linting"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
name: Check out the code
- name: Lint Code Base
uses: docker://avtodev/markdown-lint:v1
with:
args: "**/*.md"
test:
name: Foundry project
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
with:
version: nightly
- name: Check formatting
run: forge fmt --check
- name: Check contract sizes
run: forge build --sizes --skip script
- name: Run tests w/ gas report
run: forge test -vvv --gas-report