Fix for multiple keys (#254) #725
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: | |
- master | |
pull_request: | |
env: | |
FOUNDRY_PROFILE: ci | |
jobs: | |
tests: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: webfactory/[email protected] | |
with: | |
ssh-private-key: ${{ secrets.SSH_KEY_PUF }} | |
- uses: actions/checkout@v4 | |
- name: Install Foundry | |
uses: foundry-rs/foundry-toolchain@v1 | |
# with: | |
# version: nightly-de33b6af53005037b463318d2628b5cfcaf39916 | |
- name: Install deps | |
run: forge install | |
- name: Run tests | |
run: forge test -vvv --match-path './test/unit/*' | |
# - name: Check gas snapshots | |
# run: forge snapshot | |
slither: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: webfactory/[email protected] | |
with: | |
ssh-private-key: ${{ secrets.SSH_KEY_PUF }} | |
- uses: actions/checkout@v4 | |
- uses: crytic/[email protected] | |
solhint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
- name: Install solhint | |
run: npm i -g solhint | |
- name: Run solhint | |
run: solhint 'src/*.sol' | |
codespell: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Run CodeSpell | |
uses: codespell-project/[email protected] | |
with: | |
check_hidden: true | |
check_filenames: true | |
skip: package-lock.json,*.pdf,./.git | |