Skip to content

Commit cd9b671

Browse files
zerosnacksampagent
andauthored
ci: bump SOLC_LATEST to 0.8.35 (#854)
Solidity 0.8.35 was just released. Bumps `SOLC_LATEST` to 0.8.35 and clears `SOLC_PRERELEASE` (the matrix loop is now guarded so prerelease entries are skipped when empty). --------- Co-authored-by: Amp <amp@ampcode.com>
1 parent ff8c25c commit cd9b671

2 files changed

Lines changed: 68 additions & 68 deletions

File tree

.github/workflows/ci.yml

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ on:
1111

1212
env:
1313
SOLC_MINIMUM: "0.8.13"
14-
SOLC_LATEST: "0.8.34"
15-
SOLC_PRERELEASE: "0.8.35-pre.1"
14+
SOLC_LATEST: "0.8.35"
15+
SOLC_PRERELEASE: ""
1616

1717
jobs:
1818
build-matrix:
@@ -42,12 +42,14 @@ jobs:
4242
done
4343
done
4444
# prerelease (nightly only, svm-rs is not up to date on stable)
45-
for flags in \
46-
"--use solc:${PRERELEASE}" \
47-
"--use solc:${PRERELEASE} --via-ir"
48-
do
49-
matrix+='{"toolchain":"nightly","flags":"'"$flags"'","prerelease":true},'
50-
done
45+
if [ -n "$PRERELEASE" ]; then
46+
for flags in \
47+
"--use solc:${PRERELEASE}" \
48+
"--use solc:${PRERELEASE} --via-ir"
49+
do
50+
matrix+='{"toolchain":"nightly","flags":"'"$flags"'","prerelease":true},'
51+
done
52+
fi
5153
matrix="${matrix%,}]}"
5254
echo "matrix=$matrix" >> "$GITHUB_OUTPUT"
5355

0 commit comments

Comments
 (0)