Skip to content

ci: pin actions to commit hashes (#27) #1089

ci: pin actions to commit hashes (#27)

ci: pin actions to commit hashes (#27) #1089

Workflow file for this run

name: CI
on:
push:
pull_request:
workflow_dispatch:
env:
FOUNDRY_PROFILE: ci
FORK_RPC_URL: ${{ secrets.RPC_URL_1 }}
jobs:
check:
name: Foundry project
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
with:
submodules: recursive
- name: Install Foundry
uses: foundry-rs/foundry-toolchain@8789b3e21e6c11b2697f5eb56eddae542f746c10 # v1
with:
version: v1.4.3
- name: Show Forge version
run: |
forge --version
- name: Run Forge fmt
run: |
forge fmt --check
id: fmt
- name: Run Forge build
run: |
forge build --deny notes
id: build
- name: Run Forge tests
run: |
forge test -vvv --ffi
id: test