File tree Expand file tree Collapse file tree 2 files changed +23
-4
lines changed Expand file tree Collapse file tree 2 files changed +23
-4
lines changed Original file line number Diff line number Diff line change @@ -276,7 +276,7 @@ jobs:
276
276
cp -p bazel/cargo/Cargo.Bazel.lock Cargo.lock
277
277
cargo audit
278
278
279
- example :
279
+ examples :
280
280
runs-on : ubuntu-latest
281
281
282
282
strategy :
@@ -340,7 +340,7 @@ jobs:
340
340
--mode validate \
341
341
-c envoy.yaml
342
342
343
- reactor :
343
+ reactors :
344
344
runs-on : ubuntu-latest
345
345
346
346
strategy :
@@ -368,7 +368,7 @@ jobs:
368
368
run : |
369
369
curl -OL https://static.rust-lang.org/rustup/rustup-init.sh
370
370
chmod +x ./rustup-init.sh
371
- ./rustup-init.sh -y
371
+ ./rustup-init.sh -y --default-toolchain nightly
372
372
rm rustup-init.sh
373
373
echo "$HOME/.cargo/bin" >> $GITHUB_PATH
374
374
Original file line number Diff line number Diff line change 28
28
- [ Extending Envoy with WASM and Rust] ( https://antweiss.com/blog/extending-envoy-with-wasm-and-rust/ )
29
29
- [ Writing Envoy filters in Rust with WebAssembly] ( https://content.red-badger.com/resources/extending-istio-with-rust-and-webassembly )
30
30
31
- ## Updating dependencies
31
+ ## Contributing
32
+
33
+ ### Testing
34
+
35
+ GitHub Actions can be executed locally using the [ ` act ` ] tool.
36
+
37
+ All tests can be executed using:
38
+
39
+ act
40
+
41
+ Individual tests can be executed using ` -j ` and ` --matrix ` parameters, e.g.:
42
+
43
+ act -j stable
44
+ act -j nightly
45
+ act -j examples --matrix example:http_auth_random
46
+
47
+ ### Updating Bazel dependencies
32
48
33
49
When updating dependencies, you need to regenerate Bazel ` BUILD ` files to match updated ` Cargo.toml ` :
34
50
35
51
``` sh
36
52
bazel run //bazel/cargo:crates_vendor -- --repin all
37
53
```
54
+
55
+
56
+ [ `act` ] : https://github.com/nektos/act
You can’t perform that action at this time.
0 commit comments