-
Notifications
You must be signed in to change notification settings - Fork 844
Switch to using solc provided by nix #4787
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
37baeb6 to
024ea54
Compare
024ea54 to
9924442
Compare
| working-directory: ./graft/coreth | ||
| steps: | ||
| - uses: actions/checkout@v4 | ||
| - uses: ./.github/actions/setup-go-for-project |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The install-nix action ensures go is installed and that the same caching is enabled.
| shellcheck: | ||
| desc: Run shellcheck static analysis on all shell scripts with version management | ||
| cmd: ./scripts/shellcheck.sh | ||
| cmd: ../../scripts/shellcheck.sh |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since the lint jobs now use nix, which provides shellcheck, the old strategy of downloading shellcheck manually is not needed.
JonathanOppenheimer
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
love the shellcheck removal too!
|
Converting to draft pending #4782 being merged. |
Updates #4782 to replace the use of the setup-solc (v0.8.30) with nix-supplied solc (v0.8.28). This ensures the same version of solidity can be used everywhere via the nix shell - CI/local, macos/linux - without requiring manual installation.