feat!: use a struct for namespace and rename namespaceID #212
Workflow file for this run
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: Lint | |
on: | |
pull_request: | |
push: | |
branches: | |
- master | |
- release/** | |
jobs: | |
check-solidity-formatting: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
submodules: recursive | |
- name: Install Foundry | |
uses: onbjerg/foundry-toolchain@v1 | |
with: | |
version: nightly | |
- name: Format Solidity files | |
working-directory: ./ | |
run: make fmt | |
- name: Check Solidity formatting | |
run: | | |
if [ "$(git diff --ignore-space-at-eol src | wc -l)" -gt "0" ]; then | |
echo "Detected uncommitted changes after formatting. See status below:" | |
git diff | |
exit 1 | |
fi |