31
31
wget https://github.com/casey/just/releases/download/1.14.0/just-1.14.0-x86_64-unknown-linux-musl.tar.gz
32
32
tar -vxf just-1.14.0-x86_64-unknown-linux-musl.tar.gz just
33
33
sudo cp just /usr/bin/just
34
+ - name : Install rustfmt for nightly
35
+ run : rustup component add --toolchain nightly rustfmt
36
+ - name : Install Foundry
37
+ uses : foundry-rs/foundry-toolchain@v1
34
38
- name : Install protobuf compiler
35
39
run : |
36
40
sudo apt-get update
60
64
wget https://github.com/casey/just/releases/download/1.14.0/just-1.14.0-x86_64-unknown-linux-musl.tar.gz
61
65
tar -vxf just-1.14.0-x86_64-unknown-linux-musl.tar.gz just
62
66
sudo cp just /usr/bin/just
67
+ - name : Install rustfmt for nightly
68
+ run : rustup component add --toolchain nightly rustfmt
69
+ - name : Install Foundry
70
+ uses : foundry-rs/foundry-toolchain@v1
63
71
- name : Run tests
64
72
run : just test_ci
65
73
@@ -81,10 +89,13 @@ jobs:
81
89
sudo cp just /usr/bin/just
82
90
- name : Install rustfmt for nightly
83
91
run : rustup component add --toolchain nightly rustfmt
92
+ - name : Install Foundry
93
+ uses : foundry-rs/foundry-toolchain@v1
84
94
- name : Check packages individually
85
95
run : just check-individually
86
96
- name : Run lint
87
97
run : just lint
98
+
88
99
build-docker :
89
100
runs-on : ubuntu-latest
90
101
steps :
@@ -100,6 +111,7 @@ jobs:
100
111
sudo cp just /usr/bin/just
101
112
- name : Build Docker
102
113
run : just build_docker
114
+
103
115
integration :
104
116
runs-on : ubuntu-latest
105
117
timeout-minutes : 25
@@ -117,12 +129,36 @@ jobs:
117
129
wget https://github.com/casey/just/releases/download/1.14.0/just-1.14.0-x86_64-unknown-linux-musl.tar.gz
118
130
tar -vxf just-1.14.0-x86_64-unknown-linux-musl.tar.gz just
119
131
sudo cp just /usr/bin/just
132
+ - name : Install rustfmt for nightly
133
+ run : rustup component add --toolchain nightly rustfmt
134
+ - name : Install Foundry
135
+ uses : foundry-rs/foundry-toolchain@v1
120
136
- name : Run tests
121
137
run : just run_demo -s /tmp/stamp --ignore-stamp --yapper -k test-configs/local-5.json
122
138
- name : Run tests with late-start node
123
139
run : just run_demo -l -s /tmp/stamp --ignore-stamp --yapper -k test-configs/local-5.json
124
140
- name : Run sailfish demo
125
141
run : just run_sailfish_demo
142
+
143
+ contracts :
144
+ runs-on : ubuntu-latest
145
+ steps :
146
+ - uses : actions/checkout@v4
147
+ with :
148
+ submodules : recursive
149
+ fetch-depth : 0
150
+ - name : Install Just
151
+ run : |
152
+ wget https://github.com/casey/just/releases/download/1.14.0/just-1.14.0-x86_64-unknown-linux-musl.tar.gz
153
+ tar -vxf just-1.14.0-x86_64-unknown-linux-musl.tar.gz just
154
+ sudo cp just /usr/bin/just
155
+ - name : Install rustfmt for nightly
156
+ run : rustup component add --toolchain nightly rustfmt
157
+ - name : Install Foundry
158
+ uses : foundry-rs/foundry-toolchain@v1
159
+ - name : Run contract tests
160
+ run : forge test -vvv
161
+
126
162
nitro-timeboost-integration :
127
163
runs-on : ubuntu-latest
128
164
timeout-minutes : 60
@@ -140,6 +176,10 @@ jobs:
140
176
wget https://github.com/casey/just/releases/download/1.14.0/just-1.14.0-x86_64-unknown-linux-musl.tar.gz
141
177
tar -vxf just-1.14.0-x86_64-unknown-linux-musl.tar.gz just
142
178
sudo cp just /usr/bin/just
179
+ - name : Install rustfmt for nightly
180
+ run : rustup component add --toolchain nightly rustfmt
181
+ - name : Install Foundry
182
+ uses : foundry-rs/foundry-toolchain@v1
143
183
- name : Clone Espresso Testnode Repository
144
184
run : |
145
185
git clone --recursive https://github.com/EspressoSystems/decentralized-timeboost-nitro-testnode.git
0 commit comments