Skip to content

Commit 4aafdf7

Browse files
OpenSSL test workflow rename and cache improvement
1 parent c59dfc7 commit 4aafdf7

File tree

1 file changed

+41
-37
lines changed

1 file changed

+41
-37
lines changed
Lines changed: 41 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -1,37 +1,41 @@
1-
name: validate-local-openssl
2-
3-
defaults:
4-
run:
5-
working-directory: validation/local_ping_pong_openssl
6-
7-
on:
8-
pull_request:
9-
paths-ignore:
10-
- README.md
11-
push:
12-
branches: master
13-
paths-ignore:
14-
- README.md
15-
16-
permissions:
17-
contents: read
18-
19-
env:
20-
CARGO_INCREMENTAL: 0
21-
RUSTFLAGS: "-Dwarnings"
22-
23-
jobs:
24-
test:
25-
strategy:
26-
matrix:
27-
toolchain:
28-
- stable
29-
runs-on: ubuntu-latest
30-
steps:
31-
- uses: actions/checkout@v4
32-
- uses: RustCrypto/actions/cargo-cache@master
33-
- uses: dtolnay/rust-toolchain@master
34-
with:
35-
toolchain: ${{ matrix.toolchain }}
36-
- name: Test against OpenSSL locally
37-
run: cargo test
1+
name: OpenSSL Local Comparison Tests
2+
3+
defaults:
4+
run:
5+
working-directory: validation/local_ping_pong_openssl
6+
7+
on:
8+
pull_request:
9+
paths-ignore:
10+
- README.md
11+
push:
12+
branches: [master]
13+
paths-ignore:
14+
- README.md
15+
16+
permissions:
17+
contents: read
18+
19+
env:
20+
CARGO_INCREMENTAL: 0
21+
RUSTFLAGS: "-Dwarnings"
22+
23+
jobs:
24+
test:
25+
strategy:
26+
matrix:
27+
toolchain:
28+
- stable
29+
runs-on: ubuntu-latest
30+
steps:
31+
- uses: actions/checkout@v4
32+
- uses: dtolnay/rust-toolchain@master
33+
with:
34+
toolchain: ${{ matrix.toolchain }}
35+
- uses: mozilla-actions/[email protected]
36+
- uses: Swatinem/rust-cache@v2
37+
- name: Test against OpenSSL locally
38+
run: cargo test
39+
env:
40+
SCCACHE_GHA_ENABLED: "true"
41+
RUSTC_WRAPPER: "sccache"

0 commit comments

Comments
 (0)