Skip to content

Commit 43afb95

Browse files
authored
Test older solc versions on merge (crytic#1412)
1 parent b23878f commit 43afb95

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -219,9 +219,11 @@ jobs:
219219
os:
220220
- ubuntu-latest
221221
- windows-latest
222-
solc:
223-
- "0.8.10"
224-
- "0.8.25"
222+
solc: ${{
223+
(github.event_name == 'push' && github.ref == 'refs/heads/master') &&
224+
fromJSON('["0.4.25", "0.5.7", "0.6.12", "0.7.5", "0.8.10", "0.8.25"]') ||
225+
fromJSON('["0.8.10", "0.8.25"]')
226+
}}
225227
include:
226228
- os: windows-latest
227229
experimental: true

0 commit comments

Comments
 (0)