Skip to content
This repository was archived by the owner on Apr 3, 2026. It is now read-only.

CI Lockup :: Merge commit history #36

CI Lockup :: Merge commit history

CI Lockup :: Merge commit history #36

Workflow file for this run

name: "CI: Lockup"
run-name: "CI Lockup :: ${{ github.event.head_commit.message || github.event.pull_request.title }}"
concurrency:
cancel-in-progress: true
group: ${{github.workflow}}-${{github.ref}}
on:
workflow_dispatch:
pull_request:
paths:
- ".github/workflows/ci-lockup.yml"
- "lockup/**"
- "foundry.base.toml"
- "package.json"
push:
branches:
- "main"
- "staging"
paths:
- ".github/workflows/ci-lockup.yml"
- "lockup/**"
- "foundry.base.toml"
- "package.json"
jobs:
check:
uses: "sablier-labs/gha-utils/.github/workflows/full-check.yml@main"
with:
foundry-version: "stable"
build:
uses: "sablier-labs/gha-utils/.github/workflows/forge-build.yml@main"
with:
foundry-version: "stable"
test-bulloak:
needs: ["check", "build"]
if: needs.build.outputs.cache-status != 'primary'
uses: "sablier-labs/gha-utils/.github/workflows/bulloak-check.yml@main"
with:
skip-modifiers: true
test-dir: "tests"
test-unit:
needs: ["check", "build"]
if: needs.build.outputs.cache-status != 'primary'
uses: "sablier-labs/gha-utils/.github/workflows/forge-test.yml@main"
with:
foundry-fuzz-runs: 2000
foundry-profile: "test-optimized"
foundry-version: "stable"
match-path: "lockup/tests/unit/**/*.sol"
name: "Unit tests"
test-integration:
needs: ["check", "build"]
if: needs.build.outputs.cache-status != 'primary'
uses: "sablier-labs/gha-utils/.github/workflows/forge-test.yml@main"
with:
foundry-fuzz-runs: 2000
foundry-profile: "test-optimized"
foundry-version: "stable"
match-path: "lockup/tests/integration/**/*.sol"
name: "Integration tests"
test-invariant:
needs: ["check", "build"]
if: needs.build.outputs.cache-status != 'primary'
uses: "sablier-labs/gha-utils/.github/workflows/forge-test.yml@main"
with:
foundry-profile: "test-optimized"
foundry-version: "stable"
match-path: "lockup/tests/invariant/**/*.sol"
name: "Invariant tests"
test-fork:
needs: ["check", "build"]
if: needs.build.outputs.cache-status != 'primary'
secrets:
ROUTEMESH_API_KEY: ${{ secrets.ROUTEMESH_API_KEY }}
uses: "sablier-labs/gha-utils/.github/workflows/forge-test.yml@main"
with:
foundry-fuzz-runs: 20
foundry-profile: "test-optimized"
foundry-version: "stable"
match-path: "lockup/tests/fork/**/*.sol"
name: "Fork tests"
coverage:
needs: ["check", "build"]
if: needs.build.outputs.cache-status != 'primary'
secrets:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
uses: "sablier-labs/gha-utils/.github/workflows/forge-coverage.yml@main"
with:
foundry-version: "stable"
match-path: "lockup/tests/{integration,unit}/**/*.sol"