Skip to content

Commit 1923f75

Browse files
authored
Merge pull request #3729 from matklad/env
try pulling the env up
2 parents 402bf53 + ef6a041 commit 1923f75

File tree

3 files changed

+20
-24
lines changed

3 files changed

+20
-24
lines changed

.github/workflows/ci.yaml

Lines changed: 8 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,18 @@ on:
77
- staging
88
- trying
99

10+
env:
11+
CARGO_INCREMENTAL: 0
12+
CARGO_NET_RETRY: 10
13+
CC: deny_c
14+
RUN_SLOW_TESTS: 1
15+
RUSTFLAGS: -D warnings
16+
RUSTUP_MAX_RETRIES: 10
17+
1018
jobs:
1119
rust-audit:
1220
name: Audit Rust vulnerabilities
1321
runs-on: ubuntu-latest
14-
env:
15-
RUSTUP_MAX_RETRIES: 10
16-
CARGO_NET_RETRY: 10
17-
1822
steps:
1923
- name: Install Rust toolchain
2024
uses: actions-rs/toolchain@v1
@@ -46,14 +50,6 @@ jobs:
4650
matrix:
4751
os: [ubuntu-latest, windows-latest, macos-latest]
4852

49-
env:
50-
RUSTFLAGS: -D warnings
51-
CC: deny_c
52-
CARGO_INCREMENTAL: 0
53-
RUN_SLOW_TESTS: 1
54-
RUSTUP_MAX_RETRIES: 10
55-
CARGO_NET_RETRY: 10
56-
5753
steps:
5854
- name: Checkout repository
5955
uses: actions/checkout@v2
@@ -111,9 +107,6 @@ jobs:
111107
typescript:
112108
name: TypeScript
113109
runs-on: ubuntu-latest
114-
env:
115-
CXX: g++-4.9
116-
CC: gcc-4.9
117110
steps:
118111
- name: Checkout repository
119112
uses: actions/checkout@v2

.github/workflows/release.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,12 @@ on:
88
- release
99
- nightly
1010

11+
env:
12+
CARGO_INCREMENTAL: 0
13+
CARGO_NET_RETRY: 10
14+
RUSTFLAGS: -D warnings
15+
RUSTUP_MAX_RETRIES: 10
16+
1117
jobs:
1218
dist:
1319
name: dist
@@ -16,12 +22,6 @@ jobs:
1622
matrix:
1723
os: [ubuntu-latest, windows-latest, macos-latest]
1824

19-
env:
20-
RUSTFLAGS: -D warnings
21-
CARGO_INCREMENTAL: 0
22-
RUSTUP_MAX_RETRIES: 10
23-
CARGO_NET_RETRY: 10
24-
2525
steps:
2626
- name: Checkout repository
2727
uses: actions/checkout@v2

.github/workflows/rustdoc.yaml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,15 @@ on:
44
branches:
55
- master
66

7+
env:
8+
CARGO_INCREMENTAL: 0
9+
CARGO_NET_RETRY: 10
10+
RUSTFLAGS: -D warnings
11+
RUSTUP_MAX_RETRIES: 10
12+
713
jobs:
814
rustdoc:
915
runs-on: ubuntu-latest
10-
env:
11-
RUSTFLAGS: -D warnings
12-
CARGO_INCREMENTAL: 0
1316

1417
steps:
1518
- name: Checkout repository

0 commit comments

Comments
 (0)