diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml new file mode 100644 index 00000000..6de15ef9 --- /dev/null +++ b/.github/workflows/lint.yml @@ -0,0 +1,26 @@ +name: Lint + +on: + pull_request: {} + push: + branches: + - "test" + +jobs: + lint: + runs-on: ubuntu-latest + steps: + - name: Install Foundry (Cannon) + uses: foundry-rs/foundry-toolchain@v1 + with: + version: nightly + - run: anvil -V + - uses: actions/checkout@v3 + - uses: actions/setup-node@v3 + with: + node-version: "18" + cache: "yarn" + - run: yarn --version + - run: yarn install --immutable + - run: yarn dedupe --check + - run: yarn pretty:check