Demo telemetry #191
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: contracts-forge-tests | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
jobs: | |
Test: | |
name: Contracts Forge Test | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install Foundry | |
uses: foundry-rs/foundry-toolchain@v1 | |
with: | |
version: nightly | |
- name: Install forge dependencies | |
run: forge install | |
working-directory: ./contracts | |
- name: Run tests | |
run: forge test -vvv | |
working-directory: ./contracts | |
- name: Enforce Formatting | |
run: forge fmt --check | |
working-directory: ./contracts |