Skip to content

Solve ToB-UNI4-3 without restricting sync #3659

Solve ToB-UNI4-3 without restricting sync

Solve ToB-UNI4-3 without restricting sync #3659

Workflow file for this run

name: Lint
on:
push:
branches:
- main
pull_request:
jobs:
run-linters:
name: Run linters
runs-on: ubuntu-latest
steps:
- name: Check out Git repository
uses: actions/checkout@v3
- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
with:
version: nightly
- name: Lint
run: forge fmt --check
- uses: actions/cache@v2
name: Configure npm caching
with:
path: ~/.npm
key: ${{ runner.os }}-npm-${{ hashFiles('**/workflows/prettier.yml') }}
restore-keys: |
${{ runner.os }}-npm-
- name: Check code formatting
run: |-
npx prettier --check .