Merge pull request #131 from Hats-Protocol/funding-json #231
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |