File tree Expand file tree Collapse file tree 4 files changed +11
-6
lines changed
Expand file tree Collapse file tree 4 files changed +11
-6
lines changed Original file line number Diff line number Diff line change @@ -118,7 +118,7 @@ jobs:
118118
119119 mac-intel :
120120 name : Mac Intel
121- runs-on : macos-12
121+ runs-on : macos-13
122122 steps :
123123 - name : Checkout sources
124124 uses : actions/checkout@v4
Original file line number Diff line number Diff line change 1313 repolinter :
1414 name : Repolinter
1515 runs-on : solang-ubuntu-latest
16+ # spdx runs on python 3.10 but not any later versions
17+ container : ubuntu:22.04
1618 steps :
19+ - name : Install Python and npx
20+ run : |
21+ apt-get update
22+ apt-get install -y python3 git npx
1723 - name : Checkout sources
1824 uses : actions/checkout@v4
1925 - name : Run repolinter
@@ -199,7 +205,7 @@ jobs:
199205
200206 mac-intel :
201207 name : Mac Intel
202- runs-on : macos-12
208+ runs-on : macos-13
203209 steps :
204210 - name : Checkout sources
205211 uses : actions/checkout@v4
@@ -223,7 +229,7 @@ jobs:
223229
224230 mac-universal :
225231 name : Mac Universal Binary
226- runs-on : macos-12
232+ runs-on : macos-13
227233 needs : [mac-arm, mac-intel]
228234 steps :
229235 - uses : actions/download-artifact@v4.1.8
Original file line number Diff line number Diff line change @@ -217,7 +217,7 @@ struct chunk
217217 uint32_t allocated ;
218218};
219219
220- #define ROUND_UP (n , d ) (((n) + (d)- 1) & ~(d - 1))
220+ #define ROUND_UP (n , d ) (((n) + (d) - 1) & ~(d - 1))
221221
222222uint64_t account_data_alloc (SolAccountInfo * ai , uint32_t size , uint32_t * res )
223223{
Original file line number Diff line number Diff line change @@ -66,6 +66,5 @@ fn print_then_runtime_error() {
6666 let logs = src. invoke_contract_expect_error ( addr, "decrement" , vec ! [ ] ) ;
6767
6868 assert ! ( logs[ 0 ] . contains( "Second call will FAIL!" ) ) ;
69- assert ! ( logs[ 1 ] . contains( "Second call will FAIL!" ) ) ;
70- assert ! ( logs[ 2 ] . contains( "runtime_error: math overflow in test.sol:6:17-27" ) ) ;
69+ assert ! ( logs[ 1 ] . contains( "runtime_error: math overflow in test.sol:6:17-27" ) ) ;
7170}
You can’t perform that action at this time.
0 commit comments