break out bundle params encoding into a new function encodeBundleParams (from Bundle.encodeBundle) #41
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 code snippets | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
env: | |
FOUNDRY_PROFILE: ci | |
jobs: | |
check-code-snippets: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install Foundry | |
uses: foundry-rs/foundry-toolchain@v1 | |
with: | |
version: nightly | |
- name: Install deps | |
run: forge install | |
- name: Validate code snippets in README | |
run: go run tools/stdchecker/main.go --root ./tools/stdchecker ./README.md |