Skip to content

rainix workflow

rainix workflow #374

Workflow file for this run

name: Gas snapshot
on: [push]
env:
FOUNDRY_PROFILE: ci
jobs:
check:
strategy:
fail-fast: true
name: Gas snapshot
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
with:
version: nightly
- name: Install Nix
uses: DeterminateSystems/nix-installer-action@v4
- uses: DeterminateSystems/magic-nix-cache-action@v2
- name: Prepare repo
run: nix run
- name: Check gas snapshots
run: forge snapshot --check
id: snapshot