Skip to content

Run the GitHub CI against the head of the PR, not against the merge commit #1394

Run the GitHub CI against the head of the PR, not against the merge commit

Run the GitHub CI against the head of the PR, not against the merge commit #1394

Workflow file for this run

name: lint
on:
push:
branches:
- master
pull_request:
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha }}
- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
with:
version: nightly-59f354c179f4e7f6d7292acb3d068815c79286d1
- name: Check formatting
run: forge fmt --check