File tree Expand file tree Collapse file tree 2 files changed +35
-3
lines changed Expand file tree Collapse file tree 2 files changed +35
-3
lines changed Original file line number Diff line number Diff line change 1919
2020 steps :
2121 - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
22- - uses : EmbarkStudios/cargo-deny-action@34899fc7ba81ca6268d5947a7a16b4649013fea1 # v2.0.11
22+ - uses : EmbarkStudios/cargo-deny-action@30f817c6f72275c6d54dc744fbca09ebc958599f # v2.0.12
2323 with :
2424 command : check ${{ matrix.checks }}
Original file line number Diff line number Diff line change 1212 NGINX_SOURCE_DIR : nginx
1313
1414jobs :
15- linux :
15+ rust-version :
16+ name : Minimal supported Rust version
17+ outputs :
18+ version : ${{ steps.read_version.outputs.msrv }}
1619 runs-on : ubuntu-latest
20+ steps :
21+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
22+ - id : read_version
23+ run : |
24+ awk -F '=' \
25+ '/^rust-version[[:space:]]*=/ { gsub(/([" ]|#.*)/,"",$2); print ("msrv=" $2) }' \
26+ Cargo.toml \
27+ | tee -a "$GITHUB_OUTPUT"
28+
29+ unix :
30+ needs : rust-version
1731
1832 strategy :
1933 fail-fast : false
2034 matrix :
35+ runner :
36+ - ubuntu
37+ rust-version :
38+ - stable
2139 nginx-ref :
2240 - master
2341 - stable-1.28
2644 - debug-static
2745 - release
2846
47+ include :
48+ - runner : ubuntu
49+ rust-version : ${{ needs.rust-version.outputs.version }}
50+ nginx-ref : stable-1.28
51+ build : debug
52+
53+ - runner : macos
54+ rust-version : stable
55+ nginx-ref : stable-1.28
56+ build : debug
57+
58+ runs-on : ${{ matrix.runner }}-latest
59+
2960 steps :
3061 - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
3162 - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
4273
4374 - uses : dtolnay/rust-toolchain@b3b07ba8b418998c39fb20f53e8b695cdcc8de1b
4475 with :
45- toolchain : stable
76+ toolchain : ${{ matrix.rust-version }}
77+ components : clippy, rustfmt
4678
4779 - uses : actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3
4880 with :
You can’t perform that action at this time.
0 commit comments