Skip to content

Commit c266f91

Browse files
committed
reduce dupl code
1 parent 978ef7b commit c266f91

File tree

3 files changed

+9
-8
lines changed

3 files changed

+9
-8
lines changed

.github/workflows/sha1.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: sha1
33
on:
44
pull_request:
55
paths:
6-
- ".github/workflows/sha1.yml"
6+
#- ".github/workflows/sha1.yml"
77
- "sha1/**"
88
- "Cargo.*"
99
push:

.github/workflows/sha2.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: sha2
33
on:
44
pull_request:
55
paths:
6-
- ".github/workflows/sha2.yml"
6+
#- ".github/workflows/sha2.yml"
77
- "sha2/**"
88
- "Cargo.*"
99
push:

.github/workflows/sha3.yml

+7-6
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
name: sha3
22

3+
env:
4+
MSRV: 1.41.0
5+
RUSTFLAGS: "-Dwarnings"
6+
CARGO_INCREMENTAL: 0
7+
PACKAGE: sha3
8+
39
on:
410
pull_request:
511
paths:
@@ -11,12 +17,7 @@ on:
1117

1218
defaults:
1319
run:
14-
working-directory: sha3
15-
16-
env:
17-
MSRV: 1.41.0
18-
RUSTFLAGS: "-Dwarnings"
19-
CARGO_INCREMENTAL: 0
20+
working-directory: env.PACKAGE
2021

2122
jobs:
2223
set-msrv:

0 commit comments

Comments
 (0)