🔁 Update forge-std
#134
This file contains hidden or 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: 👮♂️ Sanity checks | |
| on: [push, pull_request, workflow_dispatch] | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| prettify: | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| matrix: | |
| os: | |
| - ubuntu-latest | |
| node_version: | |
| - 24 | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v5 | |
| with: | |
| submodules: recursive | |
| - name: Use Node.js ${{ matrix.node_version }} | |
| uses: actions/setup-node@v5 | |
| with: | |
| node-version: ${{ matrix.node_version }} | |
| - name: Run Prettier | |
| run: npx prettier -c '**/*.{md,yml,yaml}' | |
| - name: Install Foundry | |
| uses: foundry-rs/foundry-toolchain@v1 | |
| with: | |
| version: nightly | |
| - name: Prettify Solidity files | |
| run: forge fmt --check | |
| env: | |
| FOUNDRY_DISABLE_NIGHTLY_WARNING: "1" | |
| codespell: | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| matrix: | |
| os: | |
| - ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v5 | |
| - name: Run codespell | |
| uses: codespell-project/actions-codespell@v2 | |
| with: | |
| check_filenames: true | |
| skip: ./.git |