|
17 | 17 | runs-on: ${{ matrix.platform }} |
18 | 18 |
|
19 | 19 | steps: |
20 | | - - uses: dtolnay/rust-toolchain@1.83.0 |
| 20 | + - uses: dtolnay/rust-toolchain@1.87.0 |
21 | 21 | - uses: actions/checkout@v4 |
22 | 22 | with: |
23 | 23 | submodules: true |
|
40 | 40 | runs-on: ubuntu-latest |
41 | 41 |
|
42 | 42 | steps: |
43 | | - - uses: dtolnay/rust-toolchain@1.83.0 |
| 43 | + - uses: dtolnay/rust-toolchain@1.87.0 |
44 | 44 |
|
45 | 45 | - uses: actions/checkout@v4 |
46 | 46 | with: |
|
88 | 88 | needs: worker-build |
89 | 89 | runs-on: ubuntu-latest |
90 | 90 | steps: |
91 | | - - uses: dtolnay/rust-toolchain@1.83.0 |
| 91 | + - uses: dtolnay/rust-toolchain@1.87.0 |
92 | 92 | - uses: actions/checkout@v4 |
93 | 93 | with: |
94 | 94 | submodules: true |
@@ -127,7 +127,7 @@ jobs: |
127 | 127 | name: Formatter |
128 | 128 | runs-on: ubuntu-latest |
129 | 129 | steps: |
130 | | - - uses: dtolnay/rust-toolchain@1.83.0 |
| 130 | + - uses: dtolnay/rust-toolchain@1.87.0 |
131 | 131 | with: |
132 | 132 | components: rustfmt, clippy |
133 | 133 |
|
@@ -164,7 +164,7 @@ jobs: |
164 | 164 | runs-on: ${{ matrix.platform }} |
165 | 165 |
|
166 | 166 | steps: |
167 | | - - uses: dtolnay/rust-toolchain@1.83.0 |
| 167 | + - uses: dtolnay/rust-toolchain@1.87.0 |
168 | 168 | - uses: actions/checkout@v4 |
169 | 169 | with: |
170 | 170 | submodules: true |
@@ -220,3 +220,45 @@ jobs: |
220 | 220 |
|
221 | 221 | - name: Run tests (http) |
222 | 222 | run: chomp test-http |
| 223 | + |
| 224 | + test-panic-unwind: |
| 225 | + name: Test (panic-unwind) |
| 226 | + needs: worker-build |
| 227 | + runs-on: ubuntu-latest |
| 228 | + |
| 229 | + steps: |
| 230 | + - uses: dtolnay/rust-toolchain@nightly |
| 231 | + with: |
| 232 | + components: rust-src |
| 233 | + - uses: actions/checkout@v4 |
| 234 | + with: |
| 235 | + submodules: true |
| 236 | + |
| 237 | + - name: Setup Chomp |
| 238 | + uses: guybedford/chomp-action@v1 |
| 239 | + env: |
| 240 | + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
| 241 | + |
| 242 | + - uses: actions/download-artifact@v4 |
| 243 | + with: |
| 244 | + name: worker-build |
| 245 | + path: ./target/debug |
| 246 | + |
| 247 | + - name: Make worker-build executable |
| 248 | + run: chmod +x ./target/debug/worker-build |
| 249 | + |
| 250 | + - name: Cache Rust dependencies |
| 251 | + uses: actions/cache@v4 |
| 252 | + with: |
| 253 | + path: ~/.cargo/registry ~/.cargo/git target |
| 254 | + key: ${{ runner.os }}-cargo-nightly-${{ hashFiles('**/Cargo.lock') }} |
| 255 | + restore-keys: ${{ runner.os }}-cargo-nightly- |
| 256 | + |
| 257 | + - name: Install npm dependencies |
| 258 | + run: npm ci |
| 259 | + |
| 260 | + - name: Install wasm32 target |
| 261 | + run: rustup target add wasm32-unknown-unknown |
| 262 | + |
| 263 | + - name: Run tests (panic-unwind) |
| 264 | + run: chomp test-panic-unwind |
0 commit comments