Skip to content

Commit eafc0bb

Browse files
authored
fix(ci): check generated files should be reliable (#195)
* fix(ci): set solc version * fix: set solc in foundry.toml
1 parent 29c0b0d commit eafc0bb

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.github/workflows/ci.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ concurrency:
1111
cancel-in-progress: true
1212

1313
env:
14-
GO_VERSION: "1.21" # https://go.dev/dl/
15-
STRINGER_VERSION: "0.15.0" # https://pkg.go.dev/golang.org/x/tools/cmd/stringer?tab=versions
14+
GO_VERSION: "1.21" # https://go.dev/dl/
15+
STRINGER_VERSION: "0.15.0" # https://pkg.go.dev/golang.org/x/tools/cmd/stringer?tab=versions
1616
# Protoc dependencies.
1717
PROTOC_VERSION: "25.1" # https://github.com/protocolbuffers/protobuf/releases
1818
PROTOC_GEN_GO_VERSION: "1.31.0" # https://pkg.go.dev/google.golang.org/protobuf/cmd/protoc-gen-go?tab=versions

contracts/foundry.toml

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ libs = ["lib"]
55
remappings = [
66
'@openzeppelin/=lib/openzeppelin-contracts/contracts',
77
]
8+
solc_version = "0.8.23" # https://github.com/ethereum/solidity/releases
89

910
# Lite profile with Yul optimiser disabled.
1011
[profile.lite.optimizer_details]

0 commit comments

Comments
 (0)