chore: gas optimisation for the for loop using the unchecked block (#… #30
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: Go-Check | |
on: | |
pull_request: | |
push: | |
branches: | |
- master | |
- release/** | |
jobs: | |
check: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Set up Go | |
uses: actions/setup-go@v4 | |
with: | |
go-version: 1.21.1 | |
- name: Verify Go Mod and Go Sum | |
run: | | |
go mod tidy | |
git diff --exit-code go.mod go.sum |