File tree Expand file tree Collapse file tree 3 files changed +55
-9
lines changed Expand file tree Collapse file tree 3 files changed +55
-9
lines changed Original file line number Diff line number Diff line change 2222 RUST_BACKTRACE : 1
2323 steps :
2424 - uses : actions/checkout@v3
25-
2625 - name : Build events
2726 uses : ./.github/actions/rust-build
2827 with :
3433 - uses : actions/checkout@v3
3534 - uses : dtolnay/rust-toolchain@stable
3635 - uses : Swatinem/rust-cache@v2
37-
3836 - name : Test individual event features
3937 run : make check-event-features
38+ semver :
39+ name : semver
40+ needs : [build, check-event-features]
41+ runs-on : ubuntu-latest
42+ steps :
43+ - uses : actions/checkout@v4
44+ - name : Check `aws_lambda_events` semver with only default features
45+ uses : obi1kenobi/cargo-semver-checks-action@v2
46+ with :
47+ rust-toolchain : stable
48+ package : aws_lambda_events
49+ feature-group : default-features
50+ - name : Check `aws_lambda_events` semver with all features
51+ uses : obi1kenobi/cargo-semver-checks-action@v2
52+ with :
53+ rust-toolchain : stable
54+ package : aws_lambda_events
55+ feature-group : all-features
Original file line number Diff line number Diff line change 1- name : Check Lambda Runtime
1+ name : Check Lambda Extension
22
33on :
44 push :
@@ -28,16 +28,31 @@ jobs:
2828 RUST_BACKTRACE : 1
2929 steps :
3030 - uses : actions/checkout@v3
31-
3231 - name : Build Runtime API Client
3332 uses : ./.github/actions/rust-build
3433 with :
3534 package : lambda_runtime_api_client
3635 toolchain : ${{ matrix.toolchain}}
37-
38-
3936 - name : Build Extensions runtime
4037 uses : ./.github/actions/rust-build
4138 with :
4239 package : lambda-extension
4340 toolchain : ${{ matrix.toolchain}}
41+ semver :
42+ name : semver
43+ needs : build-runtime
44+ runs-on : ubuntu-latest
45+ steps :
46+ - uses : actions/checkout@v4
47+ - name : Check `lambda-extension` semver with only default features
48+ uses : obi1kenobi/cargo-semver-checks-action@v2
49+ with :
50+ rust-toolchain : stable
51+ package : lambda-extension
52+ feature-group : default-features
53+ - name : Check `lambda-extension` semver with all features
54+ uses : obi1kenobi/cargo-semver-checks-action@v2
55+ with :
56+ rust-toolchain : stable
57+ package : lambda-extension
58+ feature-group : all-features
Original file line number Diff line number Diff line change @@ -27,21 +27,36 @@ jobs:
2727 RUST_BACKTRACE : 1
2828 steps :
2929 - uses : actions/checkout@v3
30-
3130 - name : Build Runtime API Client
3231 uses : ./.github/actions/rust-build
3332 with :
3433 package : lambda_runtime_api_client
3534 toolchain : ${{ matrix.toolchain}}
36-
3735 - name : Build Functions runtime
3836 uses : ./.github/actions/rust-build
3937 with :
4038 package : lambda_runtime
4139 toolchain : ${{ matrix.toolchain}}
42-
4340 - name : Build HTTP layer
4441 uses : ./.github/actions/rust-build
4542 with :
4643 package : lambda_http
4744 toolchain : ${{ matrix.toolchain}}
45+ semver :
46+ name : semver
47+ needs : build-runtime
48+ runs-on : ubuntu-latest
49+ steps :
50+ - uses : actions/checkout@v4
51+ - name : Check `lambda_runtime_api_client`, `lambda_runtime`, lambda_http` semver with only default features
52+ uses : obi1kenobi/cargo-semver-checks-action@v2
53+ with :
54+ rust-toolchain : stable
55+ package : lambda_runtime_api_client, lambda_runtime, lambda_http
56+ feature-group : default-features
57+ - name : Check `lambda_runtime_api_client`, `lambda_runtime`, lambda_http` semver with all features
58+ uses : obi1kenobi/cargo-semver-checks-action@v2
59+ with :
60+ rust-toolchain : stable
61+ package : lambda_runtime_api_client, lambda_runtime, lambda_http
62+ feature-group : all-features
You can’t perform that action at this time.
0 commit comments