Skip to content

rename /example to /slashing #10

rename /example to /slashing

rename /example to /slashing #10

Workflow file for this run

name: CI
on:
push:
pull_request:
workflow_dispatch:
env:
FOUNDRY_PROFILE: ci
jobs:
codespell:
name: Check for spelling errors
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Codespell
uses: codespell-project/actions-codespell@v2.0
with:
check_hidden: true
check_filenames: true
tests:
runs-on: ubuntu-latest
environment: CI
steps:
- name: Cancel previous actions
uses: styfle/cancel-workflow-action@0.12.1
- uses: actions/checkout@v4
with:
submodules: recursive
- name: Print branch name
run: echo running on branch ${GITHUB_HEAD_REF:-$GITHUB_REF_NAME}
- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
with:
version: v0.3.0
- name: Show Forge version
run: |
forge --version
- name: Run Forge fmt
run: |
forge fmt --check
id: fmt
- name: Run Forge build
run: |
forge build --sizes
id: build
- name: Run Forge tests
run: |
forge test -vvv
id: test
env:
ETH_RPC_URL: ${{ secrets.ETH_RPC_URL }}
HOLESKY_RPC_URL: ${{ secrets.HOLESKY_RPC_URL }}