Commit 9f4637b 1 parent cf3e66e commit 9f4637b Copy full SHA for 9f4637b
File tree 4 files changed +12
-7
lines changed
4 files changed +12
-7
lines changed Original file line number Diff line number Diff line change @@ -118,7 +118,7 @@ jobs:
118
118
119
119
mac-intel :
120
120
name : Mac Intel
121
- runs-on : macos-12
121
+ runs-on : macos-13
122
122
steps :
123
123
- name : Checkout sources
124
124
uses : actions/checkout@v4
Original file line number Diff line number Diff line change @@ -13,14 +13,20 @@ jobs:
13
13
repolinter :
14
14
name : Repolinter
15
15
runs-on : solang-ubuntu-latest
16
+ # spdx runs on python 3.10 but not any later versions
17
+ container : ubuntu:22.04
16
18
steps :
19
+ - name : Install Python and npm
20
+ run : |
21
+ apt-get update
22
+ apt-get install -y python3 git npm
17
23
- name : Checkout sources
18
24
uses : actions/checkout@v4
19
25
- name : Run repolinter
20
26
run : npx repolinter --rulesetUrl https://raw.githubusercontent.com/hyperledger-labs/hyperledger-community-management-tools/master/repo_structure/repolint.json
21
27
- uses : enarx/spdx@master
22
28
with :
23
- licenses : Apache-2.0 MIT
29
+ licenses : Apache-2.0
24
30
25
31
docs :
26
32
name : Docs
@@ -199,7 +205,7 @@ jobs:
199
205
200
206
mac-intel :
201
207
name : Mac Intel
202
- runs-on : macos-12
208
+ runs-on : macos-13
203
209
steps :
204
210
- name : Checkout sources
205
211
uses : actions/checkout@v4
@@ -223,7 +229,7 @@ jobs:
223
229
224
230
mac-universal :
225
231
name : Mac Universal Binary
226
- runs-on : macos-12
232
+ runs-on : macos-13
227
233
needs : [mac-arm, mac-intel]
228
234
steps :
229
235
- uses : actions/download-artifact@v4.1.8
Original file line number Diff line number Diff line change @@ -217,7 +217,7 @@ struct chunk
217
217
uint32_t allocated ;
218
218
};
219
219
220
- #define ROUND_UP (n , d ) (((n) + (d)- 1) & ~(d - 1))
220
+ #define ROUND_UP (n , d ) (((n) + (d) - 1) & ~(d - 1))
221
221
222
222
uint64_t account_data_alloc (SolAccountInfo * ai , uint32_t size , uint32_t * res )
223
223
{
Original file line number Diff line number Diff line change @@ -66,6 +66,5 @@ fn print_then_runtime_error() {
66
66
let logs = src. invoke_contract_expect_error ( addr, "decrement" , vec ! [ ] ) ;
67
67
68
68
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" ) ) ;
71
70
}
You can’t perform that action at this time.
0 commit comments