File tree 3 files changed +37
-9
lines changed
3 files changed +37
-9
lines changed Original file line number Diff line number Diff line change @@ -353,7 +353,7 @@ jobs:
353
353
cp -p bazel/cargo/Cargo.Bazel.lock Cargo.lock
354
354
cargo audit
355
355
356
- example :
356
+ examples :
357
357
runs-on : ubuntu-latest
358
358
359
359
strategy :
@@ -433,7 +433,7 @@ jobs:
433
433
--mode validate \
434
434
-c envoy.yaml
435
435
436
- reactor :
436
+ reactors :
437
437
runs-on : ubuntu-latest
438
438
439
439
strategy :
@@ -475,7 +475,7 @@ jobs:
475
475
run : |
476
476
curl -OL https://static.rust-lang.org/rustup/rustup-init.sh
477
477
chmod +x ./rustup-init.sh
478
- ./rustup-init.sh -y
478
+ ./rustup-init.sh -y --default-toolchain nightly
479
479
rm rustup-init.sh
480
480
echo "$HOME/.cargo/bin" >> $GITHUB_PATH
481
481
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 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 changes
32
32
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