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 22
22
RUST_BACKTRACE : 1
23
23
steps :
24
24
- uses : actions/checkout@v3
25
-
26
25
- name : Build events
27
26
uses : ./.github/actions/rust-build
28
27
with :
34
33
- uses : actions/checkout@v3
35
34
- uses : dtolnay/rust-toolchain@stable
36
35
- uses : Swatinem/rust-cache@v2
37
-
38
36
- name : Test individual event features
39
37
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
2
2
3
3
on :
4
4
push :
@@ -28,16 +28,31 @@ jobs:
28
28
RUST_BACKTRACE : 1
29
29
steps :
30
30
- uses : actions/checkout@v3
31
-
32
31
- name : Build Runtime API Client
33
32
uses : ./.github/actions/rust-build
34
33
with :
35
34
package : lambda_runtime_api_client
36
35
toolchain : ${{ matrix.toolchain}}
37
-
38
-
39
36
- name : Build Extensions runtime
40
37
uses : ./.github/actions/rust-build
41
38
with :
42
39
package : lambda-extension
43
40
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:
27
27
RUST_BACKTRACE : 1
28
28
steps :
29
29
- uses : actions/checkout@v3
30
-
31
30
- name : Build Runtime API Client
32
31
uses : ./.github/actions/rust-build
33
32
with :
34
33
package : lambda_runtime_api_client
35
34
toolchain : ${{ matrix.toolchain}}
36
-
37
35
- name : Build Functions runtime
38
36
uses : ./.github/actions/rust-build
39
37
with :
40
38
package : lambda_runtime
41
39
toolchain : ${{ matrix.toolchain}}
42
-
43
40
- name : Build HTTP layer
44
41
uses : ./.github/actions/rust-build
45
42
with :
46
43
package : lambda_http
47
44
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