Skip to content

fix: hashing

fix: hashing #34

Workflow file for this run

name: test
concurrency:
cancel-in-progress: true
group: ${{github.workflow}}-${{github.ref}}
on:
push:
branches:
- main
pull_request:
jobs:
check:
strategy:
fail-fast: true
name: Foundry project
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
with:
version: nightly
- name: install dependencies
run: npm ci
- name: check formatting
run: npx prettier --check 'src/**/*.sol' 'test/**/*.sol' 'script/**/*.sol'
- name: Run Forge build
run: |
forge --version
forge build --sizes
id: build
- name: Run tests
shell: bash
run: |
forge test
id: test
- name: Upload Selectors to Openchain.xyz
run: |
forge selectors upload --all