ci(check): use relative path #344
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Check storage layout | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
# Optionally configure to run only for changes in specific files. For example: | |
# paths: | |
# - src/** | |
# - test/** | |
# - foundry.toml | |
# - remappings.txt | |
# - .github/workflows/foundry-storage-check.yml | |
jobs: | |
check_storage_layout: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install Foundry | |
uses: foundry-rs/[email protected] | |
- name: Check storage layout | |
uses: Rubilmax/foundry-storage-check@main | |
with: | |
contract: contracts/Example.sol:Example |