File tree Expand file tree Collapse file tree 3 files changed +37
-9
lines changed Expand file tree Collapse file tree 3 files changed +37
-9
lines changed Original file line number Diff line number Diff line change @@ -353,7 +353,7 @@ jobs:
353353 cp -p bazel/cargo/Cargo.Bazel.lock Cargo.lock
354354 cargo audit
355355
356- example :
356+ examples :
357357 runs-on : ubuntu-latest
358358
359359 strategy :
@@ -433,7 +433,7 @@ jobs:
433433 --mode validate \
434434 -c envoy.yaml
435435
436- reactor :
436+ reactors :
437437 runs-on : ubuntu-latest
438438
439439 strategy :
@@ -475,7 +475,7 @@ jobs:
475475 run : |
476476 curl -OL https://static.rust-lang.org/rustup/rustup-init.sh
477477 chmod +x ./rustup-init.sh
478- ./rustup-init.sh -y
478+ ./rustup-init.sh -y --default-toolchain nightly
479479 rm rustup-init.sh
480480 echo "$HOME/.cargo/bin" >> $GITHUB_PATH
481481
Original file line number Diff line number Diff line change 1+ # Development
2+
3+ ## Testing
4+
5+ GitHub Actions can be executed locally using the [ ` act ` ] tool.
6+
7+ All tests can be executed using:
8+
9+ act
10+
11+ Individual tests can be executed using ` -j ` and ` --matrix ` parameters, e.g.:
12+
13+ act -j bazel
14+ act -j stable
15+ act -j nightly
16+ act -j examples --matrix example:http_auth_random
17+
18+ By default, all jobs are cached in ` ~/.cache/actcache ` . This can be disabled
19+ using the ` --no-cache-server ` parameter.
20+
21+ ## Updating Bazel dependencies
22+
23+ When adding or updating Cargo dependencies, the existing Bazel ` BUILD ` files
24+ must be regenerated using the [ ` bazelisk ` ] tool:
25+
26+ ``` sh
27+ bazelisk run //bazel/cargo:crates_vendor -- --repin all
28+ ```
29+
30+
31+ [ `act` ] : https://github.com/nektos/act
32+ [ `bazelisk` ] : https://github.com/bazelbuild/bazelisk
Original file line number Diff line number Diff line change 2828- [ Extending Envoy with WASM and Rust] ( https://antweiss.com/blog/extending-envoy-with-wasm-and-rust/ )
2929- [ Writing Envoy filters in Rust with WebAssembly] ( https://content.red-badger.com/resources/extending-istio-with-rust-and-webassembly )
3030
31- ## Updating dependencies
31+ ## Contributing changes
3232
33- When updating dependencies, you need to regenerate Bazel ` BUILD ` files to match updated ` Cargo.toml ` :
34-
35- ``` sh
36- bazel run //bazel/cargo:crates_vendor -- --repin all
37- ```
33+ See [ CONTRIBUTING.md] ( ./CONTRIBUTING.md ) and [ DEVELOPMENT.md] ( ./DEVELOPMENT.md ) files.
You can’t perform that action at this time.
0 commit comments