aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2020-03-26 09:21:00 +0000
committerAleksey Kladov <[email protected]>2020-03-26 09:31:51 +0000
commitef6a0417f487403a2e69bc0688dd6d67baa6b67b (patch)
treea0a6078415274be4aa9db97b962262ede4a34b14 /.github/workflows
parent402bf53a09a3edbb0ff4c94bf22d94d484f81eb9 (diff)
Specify env once for all jobs
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/ci.yaml23
-rw-r--r--.github/workflows/release.yaml12
-rw-r--r--.github/workflows/rustdoc.yaml9
3 files changed, 20 insertions, 24 deletions
diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml
index 58c8f083a..29e388e7c 100644
--- a/.github/workflows/ci.yaml
+++ b/.github/workflows/ci.yaml
@@ -7,14 +7,18 @@ on:
7 - staging 7 - staging
8 - trying 8 - trying
9 9
10env:
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
10jobs: 18jobs:
11 rust-audit: 19 rust-audit:
12 name: Audit Rust vulnerabilities 20 name: Audit Rust vulnerabilities
13 runs-on: ubuntu-latest 21 runs-on: ubuntu-latest
14 env:
15 RUSTUP_MAX_RETRIES: 10
16 CARGO_NET_RETRY: 10
17
18 steps: 22 steps:
19 - name: Install Rust toolchain 23 - name: Install Rust toolchain
20 uses: actions-rs/toolchain@v1 24 uses: actions-rs/toolchain@v1
@@ -46,14 +50,6 @@ jobs:
46 matrix: 50 matrix:
47 os: [ubuntu-latest, windows-latest, macos-latest] 51 os: [ubuntu-latest, windows-latest, macos-latest]
48 52
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
57 steps: 53 steps:
58 - name: Checkout repository 54 - name: Checkout repository
59 uses: actions/checkout@v2 55 uses: actions/checkout@v2
@@ -111,9 +107,6 @@ jobs:
111 typescript: 107 typescript:
112 name: TypeScript 108 name: TypeScript
113 runs-on: ubuntu-latest 109 runs-on: ubuntu-latest
114 env:
115 CXX: g++-4.9
116 CC: gcc-4.9
117 steps: 110 steps:
118 - name: Checkout repository 111 - name: Checkout repository
119 uses: actions/checkout@v2 112 uses: actions/checkout@v2
diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml
index c055d113d..fd184e8f1 100644
--- a/.github/workflows/release.yaml
+++ b/.github/workflows/release.yaml
@@ -8,6 +8,12 @@ on:
8 - release 8 - release
9 - nightly 9 - nightly
10 10
11env:
12 CARGO_INCREMENTAL: 0
13 CARGO_NET_RETRY: 10
14 RUSTFLAGS: -D warnings
15 RUSTUP_MAX_RETRIES: 10
16
11jobs: 17jobs:
12 dist: 18 dist:
13 name: dist 19 name: dist
@@ -16,12 +22,6 @@ jobs:
16 matrix: 22 matrix:
17 os: [ubuntu-latest, windows-latest, macos-latest] 23 os: [ubuntu-latest, windows-latest, macos-latest]
18 24
19 env:
20 RUSTFLAGS: -D warnings
21 CARGO_INCREMENTAL: 0
22 RUSTUP_MAX_RETRIES: 10
23 CARGO_NET_RETRY: 10
24
25 steps: 25 steps:
26 - name: Checkout repository 26 - name: Checkout repository
27 uses: actions/checkout@v2 27 uses: actions/checkout@v2
diff --git a/.github/workflows/rustdoc.yaml b/.github/workflows/rustdoc.yaml
index c84ce5d48..cf4bca840 100644
--- a/.github/workflows/rustdoc.yaml
+++ b/.github/workflows/rustdoc.yaml
@@ -4,12 +4,15 @@ on:
4 branches: 4 branches:
5 - master 5 - master
6 6
7env:
8 CARGO_INCREMENTAL: 0
9 CARGO_NET_RETRY: 10
10 RUSTFLAGS: -D warnings
11 RUSTUP_MAX_RETRIES: 10
12
7jobs: 13jobs:
8 rustdoc: 14 rustdoc:
9 runs-on: ubuntu-latest 15 runs-on: ubuntu-latest
10 env:
11 RUSTFLAGS: -D warnings
12 CARGO_INCREMENTAL: 0
13 16
14 steps: 17 steps:
15 - name: Checkout repository 18 - name: Checkout repository