remove whitespace #3
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: Mainnet contracts | |
on: | |
push: | |
branches: | |
- master | |
# on: | |
# push: | |
# branches: [master] | |
# paths: | |
# - "mainnet-contracts/**" | |
# pull_request: | |
# paths: | |
# - "mainnet-contracts/**" | |
jobs: | |
unit-tests: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
cache: 'yarn' | |
cache-dependency-path: yarn.lock | |
node-version: 20 | |
- name: Run codespell | |
uses: codespell-project/actions-codespell@v2.0 | |
with: | |
check_hidden: true | |
check_filenames: true | |
ignore_words_list: amountIn | |
skip: package-lock.json,*.pdf,./.git,yarn.lock | |
- name: Install yarn | |
uses: borales/actions-yarn@v4 | |
with: | |
cmd: install # will run `yarn install` command | |
- name: Install Foundry | |
uses: foundry-rs/foundry-toolchain@v1 | |
# with: | |
# version: nightly-de33b6af53005037b463318d2628b5cfcaf39916 | |
- name: Run tests | |
working-directory: mainnet-contracts | |
run: forge test -vvv --match-path './test/unit/*' |