mirror of
https://github.com/wez/wezterm.git
synced 2024-12-23 13:21:38 +03:00
ci: more adjustments for actions/cache@v2
This commit is contained in:
parent
4c639c1d54
commit
2463510a88
20
.github/workflows/gen_centos7.yml
vendored
20
.github/workflows/gen_centos7.yml
vendored
@ -59,21 +59,15 @@ jobs:
|
||||
toolchain: "stable"
|
||||
override: true
|
||||
components: "rustfmt"
|
||||
- name: "Cache cargo registry"
|
||||
- name: "Cache cargo"
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
path: "~/.cargo/registry"
|
||||
key: "centos7-None-1-${{ hashFiles('Cargo.lock') }}-cargo-registry"
|
||||
- name: "Cache cargo index"
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
path: "~/.cargo/git"
|
||||
key: "centos7-None-1-${{ hashFiles('Cargo.lock') }}-cargo-index"
|
||||
- name: "Cache cargo build"
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
path: "target"
|
||||
key: "centos7-None-1-${{ hashFiles('Cargo.lock') }}-cargo-build-target"
|
||||
path: |
|
||||
~/.cargo/registry
|
||||
~/.cargo/git
|
||||
target
|
||||
|
||||
key: "centos7-None-1-${{ runner.os }}-${{ hashFiles('**/Cargo.lock') }}-cargo"
|
||||
- name: "Install System Deps"
|
||||
shell: bash
|
||||
run: "./get-deps"
|
||||
|
20
.github/workflows/gen_centos7_continuous.yml
vendored
20
.github/workflows/gen_centos7_continuous.yml
vendored
@ -69,21 +69,15 @@ jobs:
|
||||
toolchain: "stable"
|
||||
override: true
|
||||
components: "rustfmt"
|
||||
- name: "Cache cargo registry"
|
||||
- name: "Cache cargo"
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
path: "~/.cargo/registry"
|
||||
key: "centos7-None-1-${{ hashFiles('Cargo.lock') }}-cargo-registry"
|
||||
- name: "Cache cargo index"
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
path: "~/.cargo/git"
|
||||
key: "centos7-None-1-${{ hashFiles('Cargo.lock') }}-cargo-index"
|
||||
- name: "Cache cargo build"
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
path: "target"
|
||||
key: "centos7-None-1-${{ hashFiles('Cargo.lock') }}-cargo-build-target"
|
||||
path: |
|
||||
~/.cargo/registry
|
||||
~/.cargo/git
|
||||
target
|
||||
|
||||
key: "centos7-None-1-${{ runner.os }}-${{ hashFiles('**/Cargo.lock') }}-cargo"
|
||||
- name: "Install System Deps"
|
||||
shell: bash
|
||||
run: |
|
||||
|
20
.github/workflows/gen_centos7_tag.yml
vendored
20
.github/workflows/gen_centos7_tag.yml
vendored
@ -56,21 +56,15 @@ jobs:
|
||||
toolchain: "stable"
|
||||
override: true
|
||||
components: "rustfmt"
|
||||
- name: "Cache cargo registry"
|
||||
- name: "Cache cargo"
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
path: "~/.cargo/registry"
|
||||
key: "centos7-None-1-${{ hashFiles('Cargo.lock') }}-cargo-registry"
|
||||
- name: "Cache cargo index"
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
path: "~/.cargo/git"
|
||||
key: "centos7-None-1-${{ hashFiles('Cargo.lock') }}-cargo-index"
|
||||
- name: "Cache cargo build"
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
path: "target"
|
||||
key: "centos7-None-1-${{ hashFiles('Cargo.lock') }}-cargo-build-target"
|
||||
path: |
|
||||
~/.cargo/registry
|
||||
~/.cargo/git
|
||||
target
|
||||
|
||||
key: "centos7-None-1-${{ runner.os }}-${{ hashFiles('**/Cargo.lock') }}-cargo"
|
||||
- name: "Install System Deps"
|
||||
shell: bash
|
||||
run: "./get-deps"
|
||||
|
20
.github/workflows/gen_centos8.yml
vendored
20
.github/workflows/gen_centos8.yml
vendored
@ -46,21 +46,15 @@ jobs:
|
||||
toolchain: "stable"
|
||||
override: true
|
||||
components: "rustfmt"
|
||||
- name: "Cache cargo registry"
|
||||
- name: "Cache cargo"
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
path: "~/.cargo/registry"
|
||||
key: "centos8-None-1-${{ hashFiles('Cargo.lock') }}-cargo-registry"
|
||||
- name: "Cache cargo index"
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
path: "~/.cargo/git"
|
||||
key: "centos8-None-1-${{ hashFiles('Cargo.lock') }}-cargo-index"
|
||||
- name: "Cache cargo build"
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
path: "target"
|
||||
key: "centos8-None-1-${{ hashFiles('Cargo.lock') }}-cargo-build-target"
|
||||
path: |
|
||||
~/.cargo/registry
|
||||
~/.cargo/git
|
||||
target
|
||||
|
||||
key: "centos8-None-1-${{ runner.os }}-${{ hashFiles('**/Cargo.lock') }}-cargo"
|
||||
- name: "Install System Deps"
|
||||
shell: bash
|
||||
run: "./get-deps"
|
||||
|
20
.github/workflows/gen_centos8_continuous.yml
vendored
20
.github/workflows/gen_centos8_continuous.yml
vendored
@ -66,21 +66,15 @@ jobs:
|
||||
toolchain: "stable"
|
||||
override: true
|
||||
components: "rustfmt"
|
||||
- name: "Cache cargo registry"
|
||||
- name: "Cache cargo"
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
path: "~/.cargo/registry"
|
||||
key: "centos8-None-1-${{ hashFiles('Cargo.lock') }}-cargo-registry"
|
||||
- name: "Cache cargo index"
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
path: "~/.cargo/git"
|
||||
key: "centos8-None-1-${{ hashFiles('Cargo.lock') }}-cargo-index"
|
||||
- name: "Cache cargo build"
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
path: "target"
|
||||
key: "centos8-None-1-${{ hashFiles('Cargo.lock') }}-cargo-build-target"
|
||||
path: |
|
||||
~/.cargo/registry
|
||||
~/.cargo/git
|
||||
target
|
||||
|
||||
key: "centos8-None-1-${{ runner.os }}-${{ hashFiles('**/Cargo.lock') }}-cargo"
|
||||
- name: "Install System Deps"
|
||||
shell: bash
|
||||
run: |
|
||||
|
20
.github/workflows/gen_centos8_tag.yml
vendored
20
.github/workflows/gen_centos8_tag.yml
vendored
@ -43,21 +43,15 @@ jobs:
|
||||
toolchain: "stable"
|
||||
override: true
|
||||
components: "rustfmt"
|
||||
- name: "Cache cargo registry"
|
||||
- name: "Cache cargo"
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
path: "~/.cargo/registry"
|
||||
key: "centos8-None-1-${{ hashFiles('Cargo.lock') }}-cargo-registry"
|
||||
- name: "Cache cargo index"
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
path: "~/.cargo/git"
|
||||
key: "centos8-None-1-${{ hashFiles('Cargo.lock') }}-cargo-index"
|
||||
- name: "Cache cargo build"
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
path: "target"
|
||||
key: "centos8-None-1-${{ hashFiles('Cargo.lock') }}-cargo-build-target"
|
||||
path: |
|
||||
~/.cargo/registry
|
||||
~/.cargo/git
|
||||
target
|
||||
|
||||
key: "centos8-None-1-${{ runner.os }}-${{ hashFiles('**/Cargo.lock') }}-cargo"
|
||||
- name: "Install System Deps"
|
||||
shell: bash
|
||||
run: "./get-deps"
|
||||
|
20
.github/workflows/gen_debian10.3.yml
vendored
20
.github/workflows/gen_debian10.3.yml
vendored
@ -46,21 +46,15 @@ jobs:
|
||||
toolchain: "stable"
|
||||
override: true
|
||||
components: "rustfmt"
|
||||
- name: "Cache cargo registry"
|
||||
- name: "Cache cargo"
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
path: "~/.cargo/registry"
|
||||
key: "debian10.3-None-1-${{ hashFiles('Cargo.lock') }}-cargo-registry"
|
||||
- name: "Cache cargo index"
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
path: "~/.cargo/git"
|
||||
key: "debian10.3-None-1-${{ hashFiles('Cargo.lock') }}-cargo-index"
|
||||
- name: "Cache cargo build"
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
path: "target"
|
||||
key: "debian10.3-None-1-${{ hashFiles('Cargo.lock') }}-cargo-build-target"
|
||||
path: |
|
||||
~/.cargo/registry
|
||||
~/.cargo/git
|
||||
target
|
||||
|
||||
key: "debian10.3-None-1-${{ runner.os }}-${{ hashFiles('**/Cargo.lock') }}-cargo"
|
||||
- name: "Install System Deps"
|
||||
shell: bash
|
||||
run: "./get-deps"
|
||||
|
20
.github/workflows/gen_debian10.3_continuous.yml
vendored
20
.github/workflows/gen_debian10.3_continuous.yml
vendored
@ -66,21 +66,15 @@ jobs:
|
||||
toolchain: "stable"
|
||||
override: true
|
||||
components: "rustfmt"
|
||||
- name: "Cache cargo registry"
|
||||
- name: "Cache cargo"
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
path: "~/.cargo/registry"
|
||||
key: "debian10.3-None-1-${{ hashFiles('Cargo.lock') }}-cargo-registry"
|
||||
- name: "Cache cargo index"
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
path: "~/.cargo/git"
|
||||
key: "debian10.3-None-1-${{ hashFiles('Cargo.lock') }}-cargo-index"
|
||||
- name: "Cache cargo build"
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
path: "target"
|
||||
key: "debian10.3-None-1-${{ hashFiles('Cargo.lock') }}-cargo-build-target"
|
||||
path: |
|
||||
~/.cargo/registry
|
||||
~/.cargo/git
|
||||
target
|
||||
|
||||
key: "debian10.3-None-1-${{ runner.os }}-${{ hashFiles('**/Cargo.lock') }}-cargo"
|
||||
- name: "Install System Deps"
|
||||
shell: bash
|
||||
run: |
|
||||
|
20
.github/workflows/gen_debian10.3_tag.yml
vendored
20
.github/workflows/gen_debian10.3_tag.yml
vendored
@ -43,21 +43,15 @@ jobs:
|
||||
toolchain: "stable"
|
||||
override: true
|
||||
components: "rustfmt"
|
||||
- name: "Cache cargo registry"
|
||||
- name: "Cache cargo"
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
path: "~/.cargo/registry"
|
||||
key: "debian10.3-None-1-${{ hashFiles('Cargo.lock') }}-cargo-registry"
|
||||
- name: "Cache cargo index"
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
path: "~/.cargo/git"
|
||||
key: "debian10.3-None-1-${{ hashFiles('Cargo.lock') }}-cargo-index"
|
||||
- name: "Cache cargo build"
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
path: "target"
|
||||
key: "debian10.3-None-1-${{ hashFiles('Cargo.lock') }}-cargo-build-target"
|
||||
path: |
|
||||
~/.cargo/registry
|
||||
~/.cargo/git
|
||||
target
|
||||
|
||||
key: "debian10.3-None-1-${{ runner.os }}-${{ hashFiles('**/Cargo.lock') }}-cargo"
|
||||
- name: "Install System Deps"
|
||||
shell: bash
|
||||
run: "./get-deps"
|
||||
|
20
.github/workflows/gen_debian9.12.yml
vendored
20
.github/workflows/gen_debian9.12.yml
vendored
@ -65,21 +65,15 @@ jobs:
|
||||
toolchain: "stable"
|
||||
override: true
|
||||
components: "rustfmt"
|
||||
- name: "Cache cargo registry"
|
||||
- name: "Cache cargo"
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
path: "~/.cargo/registry"
|
||||
key: "debian9.12-None-1-${{ hashFiles('Cargo.lock') }}-cargo-registry"
|
||||
- name: "Cache cargo index"
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
path: "~/.cargo/git"
|
||||
key: "debian9.12-None-1-${{ hashFiles('Cargo.lock') }}-cargo-index"
|
||||
- name: "Cache cargo build"
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
path: "target"
|
||||
key: "debian9.12-None-1-${{ hashFiles('Cargo.lock') }}-cargo-build-target"
|
||||
path: |
|
||||
~/.cargo/registry
|
||||
~/.cargo/git
|
||||
target
|
||||
|
||||
key: "debian9.12-None-1-${{ runner.os }}-${{ hashFiles('**/Cargo.lock') }}-cargo"
|
||||
- name: "Install System Deps"
|
||||
shell: bash
|
||||
run: "./get-deps"
|
||||
|
20
.github/workflows/gen_debian9.12_continuous.yml
vendored
20
.github/workflows/gen_debian9.12_continuous.yml
vendored
@ -83,21 +83,15 @@ jobs:
|
||||
toolchain: "stable"
|
||||
override: true
|
||||
components: "rustfmt"
|
||||
- name: "Cache cargo registry"
|
||||
- name: "Cache cargo"
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
path: "~/.cargo/registry"
|
||||
key: "debian9.12-None-1-${{ hashFiles('Cargo.lock') }}-cargo-registry"
|
||||
- name: "Cache cargo index"
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
path: "~/.cargo/git"
|
||||
key: "debian9.12-None-1-${{ hashFiles('Cargo.lock') }}-cargo-index"
|
||||
- name: "Cache cargo build"
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
path: "target"
|
||||
key: "debian9.12-None-1-${{ hashFiles('Cargo.lock') }}-cargo-build-target"
|
||||
path: |
|
||||
~/.cargo/registry
|
||||
~/.cargo/git
|
||||
target
|
||||
|
||||
key: "debian9.12-None-1-${{ runner.os }}-${{ hashFiles('**/Cargo.lock') }}-cargo"
|
||||
- name: "Install System Deps"
|
||||
shell: bash
|
||||
run: |
|
||||
|
20
.github/workflows/gen_debian9.12_tag.yml
vendored
20
.github/workflows/gen_debian9.12_tag.yml
vendored
@ -62,21 +62,15 @@ jobs:
|
||||
toolchain: "stable"
|
||||
override: true
|
||||
components: "rustfmt"
|
||||
- name: "Cache cargo registry"
|
||||
- name: "Cache cargo"
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
path: "~/.cargo/registry"
|
||||
key: "debian9.12-None-1-${{ hashFiles('Cargo.lock') }}-cargo-registry"
|
||||
- name: "Cache cargo index"
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
path: "~/.cargo/git"
|
||||
key: "debian9.12-None-1-${{ hashFiles('Cargo.lock') }}-cargo-index"
|
||||
- name: "Cache cargo build"
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
path: "target"
|
||||
key: "debian9.12-None-1-${{ hashFiles('Cargo.lock') }}-cargo-build-target"
|
||||
path: |
|
||||
~/.cargo/registry
|
||||
~/.cargo/git
|
||||
target
|
||||
|
||||
key: "debian9.12-None-1-${{ runner.os }}-${{ hashFiles('**/Cargo.lock') }}-cargo"
|
||||
- name: "Install System Deps"
|
||||
shell: bash
|
||||
run: "./get-deps"
|
||||
|
20
.github/workflows/gen_fedora31.yml
vendored
20
.github/workflows/gen_fedora31.yml
vendored
@ -40,21 +40,15 @@ jobs:
|
||||
toolchain: "stable"
|
||||
override: true
|
||||
components: "rustfmt"
|
||||
- name: "Cache cargo registry"
|
||||
- name: "Cache cargo"
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
path: "~/.cargo/registry"
|
||||
key: "fedora31-None-1-${{ hashFiles('Cargo.lock') }}-cargo-registry"
|
||||
- name: "Cache cargo index"
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
path: "~/.cargo/git"
|
||||
key: "fedora31-None-1-${{ hashFiles('Cargo.lock') }}-cargo-index"
|
||||
- name: "Cache cargo build"
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
path: "target"
|
||||
key: "fedora31-None-1-${{ hashFiles('Cargo.lock') }}-cargo-build-target"
|
||||
path: |
|
||||
~/.cargo/registry
|
||||
~/.cargo/git
|
||||
target
|
||||
|
||||
key: "fedora31-None-1-${{ runner.os }}-${{ hashFiles('**/Cargo.lock') }}-cargo"
|
||||
- name: "Install System Deps"
|
||||
shell: bash
|
||||
run: "./get-deps"
|
||||
|
20
.github/workflows/gen_fedora31_continuous.yml
vendored
20
.github/workflows/gen_fedora31_continuous.yml
vendored
@ -52,21 +52,15 @@ jobs:
|
||||
toolchain: "stable"
|
||||
override: true
|
||||
components: "rustfmt"
|
||||
- name: "Cache cargo registry"
|
||||
- name: "Cache cargo"
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
path: "~/.cargo/registry"
|
||||
key: "fedora31-None-1-${{ hashFiles('Cargo.lock') }}-cargo-registry"
|
||||
- name: "Cache cargo index"
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
path: "~/.cargo/git"
|
||||
key: "fedora31-None-1-${{ hashFiles('Cargo.lock') }}-cargo-index"
|
||||
- name: "Cache cargo build"
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
path: "target"
|
||||
key: "fedora31-None-1-${{ hashFiles('Cargo.lock') }}-cargo-build-target"
|
||||
path: |
|
||||
~/.cargo/registry
|
||||
~/.cargo/git
|
||||
target
|
||||
|
||||
key: "fedora31-None-1-${{ runner.os }}-${{ hashFiles('**/Cargo.lock') }}-cargo"
|
||||
- name: "Install System Deps"
|
||||
shell: bash
|
||||
run: |
|
||||
|
20
.github/workflows/gen_fedora31_tag.yml
vendored
20
.github/workflows/gen_fedora31_tag.yml
vendored
@ -37,21 +37,15 @@ jobs:
|
||||
toolchain: "stable"
|
||||
override: true
|
||||
components: "rustfmt"
|
||||
- name: "Cache cargo registry"
|
||||
- name: "Cache cargo"
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
path: "~/.cargo/registry"
|
||||
key: "fedora31-None-1-${{ hashFiles('Cargo.lock') }}-cargo-registry"
|
||||
- name: "Cache cargo index"
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
path: "~/.cargo/git"
|
||||
key: "fedora31-None-1-${{ hashFiles('Cargo.lock') }}-cargo-index"
|
||||
- name: "Cache cargo build"
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
path: "target"
|
||||
key: "fedora31-None-1-${{ hashFiles('Cargo.lock') }}-cargo-build-target"
|
||||
path: |
|
||||
~/.cargo/registry
|
||||
~/.cargo/git
|
||||
target
|
||||
|
||||
key: "fedora31-None-1-${{ runner.os }}-${{ hashFiles('**/Cargo.lock') }}-cargo"
|
||||
- name: "Install System Deps"
|
||||
shell: bash
|
||||
run: "./get-deps"
|
||||
|
20
.github/workflows/gen_fedora32.yml
vendored
20
.github/workflows/gen_fedora32.yml
vendored
@ -40,21 +40,15 @@ jobs:
|
||||
toolchain: "stable"
|
||||
override: true
|
||||
components: "rustfmt"
|
||||
- name: "Cache cargo registry"
|
||||
- name: "Cache cargo"
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
path: "~/.cargo/registry"
|
||||
key: "fedora32-None-1-${{ hashFiles('Cargo.lock') }}-cargo-registry"
|
||||
- name: "Cache cargo index"
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
path: "~/.cargo/git"
|
||||
key: "fedora32-None-1-${{ hashFiles('Cargo.lock') }}-cargo-index"
|
||||
- name: "Cache cargo build"
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
path: "target"
|
||||
key: "fedora32-None-1-${{ hashFiles('Cargo.lock') }}-cargo-build-target"
|
||||
path: |
|
||||
~/.cargo/registry
|
||||
~/.cargo/git
|
||||
target
|
||||
|
||||
key: "fedora32-None-1-${{ runner.os }}-${{ hashFiles('**/Cargo.lock') }}-cargo"
|
||||
- name: "Install System Deps"
|
||||
shell: bash
|
||||
run: "./get-deps"
|
||||
|
20
.github/workflows/gen_fedora32_continuous.yml
vendored
20
.github/workflows/gen_fedora32_continuous.yml
vendored
@ -52,21 +52,15 @@ jobs:
|
||||
toolchain: "stable"
|
||||
override: true
|
||||
components: "rustfmt"
|
||||
- name: "Cache cargo registry"
|
||||
- name: "Cache cargo"
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
path: "~/.cargo/registry"
|
||||
key: "fedora32-None-1-${{ hashFiles('Cargo.lock') }}-cargo-registry"
|
||||
- name: "Cache cargo index"
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
path: "~/.cargo/git"
|
||||
key: "fedora32-None-1-${{ hashFiles('Cargo.lock') }}-cargo-index"
|
||||
- name: "Cache cargo build"
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
path: "target"
|
||||
key: "fedora32-None-1-${{ hashFiles('Cargo.lock') }}-cargo-build-target"
|
||||
path: |
|
||||
~/.cargo/registry
|
||||
~/.cargo/git
|
||||
target
|
||||
|
||||
key: "fedora32-None-1-${{ runner.os }}-${{ hashFiles('**/Cargo.lock') }}-cargo"
|
||||
- name: "Install System Deps"
|
||||
shell: bash
|
||||
run: |
|
||||
|
20
.github/workflows/gen_fedora32_tag.yml
vendored
20
.github/workflows/gen_fedora32_tag.yml
vendored
@ -37,21 +37,15 @@ jobs:
|
||||
toolchain: "stable"
|
||||
override: true
|
||||
components: "rustfmt"
|
||||
- name: "Cache cargo registry"
|
||||
- name: "Cache cargo"
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
path: "~/.cargo/registry"
|
||||
key: "fedora32-None-1-${{ hashFiles('Cargo.lock') }}-cargo-registry"
|
||||
- name: "Cache cargo index"
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
path: "~/.cargo/git"
|
||||
key: "fedora32-None-1-${{ hashFiles('Cargo.lock') }}-cargo-index"
|
||||
- name: "Cache cargo build"
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
path: "target"
|
||||
key: "fedora32-None-1-${{ hashFiles('Cargo.lock') }}-cargo-build-target"
|
||||
path: |
|
||||
~/.cargo/registry
|
||||
~/.cargo/git
|
||||
target
|
||||
|
||||
key: "fedora32-None-1-${{ runner.os }}-${{ hashFiles('**/Cargo.lock') }}-cargo"
|
||||
- name: "Install System Deps"
|
||||
shell: bash
|
||||
run: "./get-deps"
|
||||
|
20
.github/workflows/gen_macos.yml
vendored
20
.github/workflows/gen_macos.yml
vendored
@ -42,21 +42,15 @@ jobs:
|
||||
toolchain: "stable"
|
||||
override: true
|
||||
components: "rustfmt"
|
||||
- name: "Cache cargo registry"
|
||||
- name: "Cache cargo"
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
path: "~/.cargo/registry"
|
||||
key: "macos-None-1-${{ hashFiles('Cargo.lock') }}-cargo-registry"
|
||||
- name: "Cache cargo index"
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
path: "~/.cargo/git"
|
||||
key: "macos-None-1-${{ hashFiles('Cargo.lock') }}-cargo-index"
|
||||
- name: "Cache cargo build"
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
path: "target"
|
||||
key: "macos-None-1-${{ hashFiles('Cargo.lock') }}-cargo-build-target"
|
||||
path: |
|
||||
~/.cargo/registry
|
||||
~/.cargo/git
|
||||
target
|
||||
|
||||
key: "macos-None-1-${{ runner.os }}-${{ hashFiles('**/Cargo.lock') }}-cargo"
|
||||
- name: "Install System Deps"
|
||||
shell: bash
|
||||
run: |
|
||||
|
20
.github/workflows/gen_macos_continuous.yml
vendored
20
.github/workflows/gen_macos_continuous.yml
vendored
@ -42,21 +42,15 @@ jobs:
|
||||
toolchain: "stable"
|
||||
override: true
|
||||
components: "rustfmt"
|
||||
- name: "Cache cargo registry"
|
||||
- name: "Cache cargo"
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
path: "~/.cargo/registry"
|
||||
key: "macos-None-1-${{ hashFiles('Cargo.lock') }}-cargo-registry"
|
||||
- name: "Cache cargo index"
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
path: "~/.cargo/git"
|
||||
key: "macos-None-1-${{ hashFiles('Cargo.lock') }}-cargo-index"
|
||||
- name: "Cache cargo build"
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
path: "target"
|
||||
key: "macos-None-1-${{ hashFiles('Cargo.lock') }}-cargo-build-target"
|
||||
path: |
|
||||
~/.cargo/registry
|
||||
~/.cargo/git
|
||||
target
|
||||
|
||||
key: "macos-None-1-${{ runner.os }}-${{ hashFiles('**/Cargo.lock') }}-cargo"
|
||||
- name: "Install System Deps"
|
||||
shell: bash
|
||||
run: |
|
||||
|
20
.github/workflows/gen_macos_tag.yml
vendored
20
.github/workflows/gen_macos_tag.yml
vendored
@ -39,21 +39,15 @@ jobs:
|
||||
toolchain: "stable"
|
||||
override: true
|
||||
components: "rustfmt"
|
||||
- name: "Cache cargo registry"
|
||||
- name: "Cache cargo"
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
path: "~/.cargo/registry"
|
||||
key: "macos-None-1-${{ hashFiles('Cargo.lock') }}-cargo-registry"
|
||||
- name: "Cache cargo index"
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
path: "~/.cargo/git"
|
||||
key: "macos-None-1-${{ hashFiles('Cargo.lock') }}-cargo-index"
|
||||
- name: "Cache cargo build"
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
path: "target"
|
||||
key: "macos-None-1-${{ hashFiles('Cargo.lock') }}-cargo-build-target"
|
||||
path: |
|
||||
~/.cargo/registry
|
||||
~/.cargo/git
|
||||
target
|
||||
|
||||
key: "macos-None-1-${{ runner.os }}-${{ hashFiles('**/Cargo.lock') }}-cargo"
|
||||
- name: "Install System Deps"
|
||||
shell: bash
|
||||
run: |
|
||||
|
20
.github/workflows/gen_ubuntu16.yml
vendored
20
.github/workflows/gen_ubuntu16.yml
vendored
@ -40,21 +40,15 @@ jobs:
|
||||
toolchain: "stable"
|
||||
override: true
|
||||
components: "rustfmt"
|
||||
- name: "Cache cargo registry"
|
||||
- name: "Cache cargo"
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
path: "~/.cargo/registry"
|
||||
key: "ubuntu16-None-1-${{ hashFiles('Cargo.lock') }}-cargo-registry"
|
||||
- name: "Cache cargo index"
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
path: "~/.cargo/git"
|
||||
key: "ubuntu16-None-1-${{ hashFiles('Cargo.lock') }}-cargo-index"
|
||||
- name: "Cache cargo build"
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
path: "target"
|
||||
key: "ubuntu16-None-1-${{ hashFiles('Cargo.lock') }}-cargo-build-target"
|
||||
path: |
|
||||
~/.cargo/registry
|
||||
~/.cargo/git
|
||||
target
|
||||
|
||||
key: "ubuntu16-None-1-${{ runner.os }}-${{ hashFiles('**/Cargo.lock') }}-cargo"
|
||||
- name: "Install System Deps"
|
||||
shell: bash
|
||||
run: "sudo -n ./get-deps"
|
||||
|
20
.github/workflows/gen_ubuntu16_continuous.yml
vendored
20
.github/workflows/gen_ubuntu16_continuous.yml
vendored
@ -52,21 +52,15 @@ jobs:
|
||||
toolchain: "stable"
|
||||
override: true
|
||||
components: "rustfmt"
|
||||
- name: "Cache cargo registry"
|
||||
- name: "Cache cargo"
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
path: "~/.cargo/registry"
|
||||
key: "ubuntu16-None-1-${{ hashFiles('Cargo.lock') }}-cargo-registry"
|
||||
- name: "Cache cargo index"
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
path: "~/.cargo/git"
|
||||
key: "ubuntu16-None-1-${{ hashFiles('Cargo.lock') }}-cargo-index"
|
||||
- name: "Cache cargo build"
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
path: "target"
|
||||
key: "ubuntu16-None-1-${{ hashFiles('Cargo.lock') }}-cargo-build-target"
|
||||
path: |
|
||||
~/.cargo/registry
|
||||
~/.cargo/git
|
||||
target
|
||||
|
||||
key: "ubuntu16-None-1-${{ runner.os }}-${{ hashFiles('**/Cargo.lock') }}-cargo"
|
||||
- name: "Install System Deps"
|
||||
shell: bash
|
||||
run: |
|
||||
|
20
.github/workflows/gen_ubuntu16_tag.yml
vendored
20
.github/workflows/gen_ubuntu16_tag.yml
vendored
@ -37,21 +37,15 @@ jobs:
|
||||
toolchain: "stable"
|
||||
override: true
|
||||
components: "rustfmt"
|
||||
- name: "Cache cargo registry"
|
||||
- name: "Cache cargo"
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
path: "~/.cargo/registry"
|
||||
key: "ubuntu16-None-1-${{ hashFiles('Cargo.lock') }}-cargo-registry"
|
||||
- name: "Cache cargo index"
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
path: "~/.cargo/git"
|
||||
key: "ubuntu16-None-1-${{ hashFiles('Cargo.lock') }}-cargo-index"
|
||||
- name: "Cache cargo build"
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
path: "target"
|
||||
key: "ubuntu16-None-1-${{ hashFiles('Cargo.lock') }}-cargo-build-target"
|
||||
path: |
|
||||
~/.cargo/registry
|
||||
~/.cargo/git
|
||||
target
|
||||
|
||||
key: "ubuntu16-None-1-${{ runner.os }}-${{ hashFiles('**/Cargo.lock') }}-cargo"
|
||||
- name: "Install System Deps"
|
||||
shell: bash
|
||||
run: "sudo -n ./get-deps"
|
||||
|
20
.github/workflows/gen_ubuntu18.yml
vendored
20
.github/workflows/gen_ubuntu18.yml
vendored
@ -40,21 +40,15 @@ jobs:
|
||||
toolchain: "stable"
|
||||
override: true
|
||||
components: "rustfmt"
|
||||
- name: "Cache cargo registry"
|
||||
- name: "Cache cargo"
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
path: "~/.cargo/registry"
|
||||
key: "ubuntu18-None-1-${{ hashFiles('Cargo.lock') }}-cargo-registry"
|
||||
- name: "Cache cargo index"
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
path: "~/.cargo/git"
|
||||
key: "ubuntu18-None-1-${{ hashFiles('Cargo.lock') }}-cargo-index"
|
||||
- name: "Cache cargo build"
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
path: "target"
|
||||
key: "ubuntu18-None-1-${{ hashFiles('Cargo.lock') }}-cargo-build-target"
|
||||
path: |
|
||||
~/.cargo/registry
|
||||
~/.cargo/git
|
||||
target
|
||||
|
||||
key: "ubuntu18-None-1-${{ runner.os }}-${{ hashFiles('**/Cargo.lock') }}-cargo"
|
||||
- name: "Install System Deps"
|
||||
shell: bash
|
||||
run: "sudo -n ./get-deps"
|
||||
|
20
.github/workflows/gen_ubuntu18_continuous.yml
vendored
20
.github/workflows/gen_ubuntu18_continuous.yml
vendored
@ -52,21 +52,15 @@ jobs:
|
||||
toolchain: "stable"
|
||||
override: true
|
||||
components: "rustfmt"
|
||||
- name: "Cache cargo registry"
|
||||
- name: "Cache cargo"
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
path: "~/.cargo/registry"
|
||||
key: "ubuntu18-None-1-${{ hashFiles('Cargo.lock') }}-cargo-registry"
|
||||
- name: "Cache cargo index"
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
path: "~/.cargo/git"
|
||||
key: "ubuntu18-None-1-${{ hashFiles('Cargo.lock') }}-cargo-index"
|
||||
- name: "Cache cargo build"
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
path: "target"
|
||||
key: "ubuntu18-None-1-${{ hashFiles('Cargo.lock') }}-cargo-build-target"
|
||||
path: |
|
||||
~/.cargo/registry
|
||||
~/.cargo/git
|
||||
target
|
||||
|
||||
key: "ubuntu18-None-1-${{ runner.os }}-${{ hashFiles('**/Cargo.lock') }}-cargo"
|
||||
- name: "Install System Deps"
|
||||
shell: bash
|
||||
run: |
|
||||
|
20
.github/workflows/gen_ubuntu18_tag.yml
vendored
20
.github/workflows/gen_ubuntu18_tag.yml
vendored
@ -37,21 +37,15 @@ jobs:
|
||||
toolchain: "stable"
|
||||
override: true
|
||||
components: "rustfmt"
|
||||
- name: "Cache cargo registry"
|
||||
- name: "Cache cargo"
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
path: "~/.cargo/registry"
|
||||
key: "ubuntu18-None-1-${{ hashFiles('Cargo.lock') }}-cargo-registry"
|
||||
- name: "Cache cargo index"
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
path: "~/.cargo/git"
|
||||
key: "ubuntu18-None-1-${{ hashFiles('Cargo.lock') }}-cargo-index"
|
||||
- name: "Cache cargo build"
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
path: "target"
|
||||
key: "ubuntu18-None-1-${{ hashFiles('Cargo.lock') }}-cargo-build-target"
|
||||
path: |
|
||||
~/.cargo/registry
|
||||
~/.cargo/git
|
||||
target
|
||||
|
||||
key: "ubuntu18-None-1-${{ runner.os }}-${{ hashFiles('**/Cargo.lock') }}-cargo"
|
||||
- name: "Install System Deps"
|
||||
shell: bash
|
||||
run: "sudo -n ./get-deps"
|
||||
|
20
.github/workflows/gen_ubuntu19.10.yml
vendored
20
.github/workflows/gen_ubuntu19.10.yml
vendored
@ -46,21 +46,15 @@ jobs:
|
||||
toolchain: "stable"
|
||||
override: true
|
||||
components: "rustfmt"
|
||||
- name: "Cache cargo registry"
|
||||
- name: "Cache cargo"
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
path: "~/.cargo/registry"
|
||||
key: "ubuntu19.10-None-1-${{ hashFiles('Cargo.lock') }}-cargo-registry"
|
||||
- name: "Cache cargo index"
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
path: "~/.cargo/git"
|
||||
key: "ubuntu19.10-None-1-${{ hashFiles('Cargo.lock') }}-cargo-index"
|
||||
- name: "Cache cargo build"
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
path: "target"
|
||||
key: "ubuntu19.10-None-1-${{ hashFiles('Cargo.lock') }}-cargo-build-target"
|
||||
path: |
|
||||
~/.cargo/registry
|
||||
~/.cargo/git
|
||||
target
|
||||
|
||||
key: "ubuntu19.10-None-1-${{ runner.os }}-${{ hashFiles('**/Cargo.lock') }}-cargo"
|
||||
- name: "Install System Deps"
|
||||
shell: bash
|
||||
run: "./get-deps"
|
||||
|
20
.github/workflows/gen_ubuntu19.10_continuous.yml
vendored
20
.github/workflows/gen_ubuntu19.10_continuous.yml
vendored
@ -66,21 +66,15 @@ jobs:
|
||||
toolchain: "stable"
|
||||
override: true
|
||||
components: "rustfmt"
|
||||
- name: "Cache cargo registry"
|
||||
- name: "Cache cargo"
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
path: "~/.cargo/registry"
|
||||
key: "ubuntu19.10-None-1-${{ hashFiles('Cargo.lock') }}-cargo-registry"
|
||||
- name: "Cache cargo index"
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
path: "~/.cargo/git"
|
||||
key: "ubuntu19.10-None-1-${{ hashFiles('Cargo.lock') }}-cargo-index"
|
||||
- name: "Cache cargo build"
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
path: "target"
|
||||
key: "ubuntu19.10-None-1-${{ hashFiles('Cargo.lock') }}-cargo-build-target"
|
||||
path: |
|
||||
~/.cargo/registry
|
||||
~/.cargo/git
|
||||
target
|
||||
|
||||
key: "ubuntu19.10-None-1-${{ runner.os }}-${{ hashFiles('**/Cargo.lock') }}-cargo"
|
||||
- name: "Install System Deps"
|
||||
shell: bash
|
||||
run: |
|
||||
|
20
.github/workflows/gen_ubuntu19.10_tag.yml
vendored
20
.github/workflows/gen_ubuntu19.10_tag.yml
vendored
@ -43,21 +43,15 @@ jobs:
|
||||
toolchain: "stable"
|
||||
override: true
|
||||
components: "rustfmt"
|
||||
- name: "Cache cargo registry"
|
||||
- name: "Cache cargo"
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
path: "~/.cargo/registry"
|
||||
key: "ubuntu19.10-None-1-${{ hashFiles('Cargo.lock') }}-cargo-registry"
|
||||
- name: "Cache cargo index"
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
path: "~/.cargo/git"
|
||||
key: "ubuntu19.10-None-1-${{ hashFiles('Cargo.lock') }}-cargo-index"
|
||||
- name: "Cache cargo build"
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
path: "target"
|
||||
key: "ubuntu19.10-None-1-${{ hashFiles('Cargo.lock') }}-cargo-build-target"
|
||||
path: |
|
||||
~/.cargo/registry
|
||||
~/.cargo/git
|
||||
target
|
||||
|
||||
key: "ubuntu19.10-None-1-${{ runner.os }}-${{ hashFiles('**/Cargo.lock') }}-cargo"
|
||||
- name: "Install System Deps"
|
||||
shell: bash
|
||||
run: "./get-deps"
|
||||
|
20
.github/workflows/gen_ubuntu20.04.yml
vendored
20
.github/workflows/gen_ubuntu20.04.yml
vendored
@ -46,21 +46,15 @@ jobs:
|
||||
toolchain: "stable"
|
||||
override: true
|
||||
components: "rustfmt"
|
||||
- name: "Cache cargo registry"
|
||||
- name: "Cache cargo"
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
path: "~/.cargo/registry"
|
||||
key: "ubuntu20.04-None-1-${{ hashFiles('Cargo.lock') }}-cargo-registry"
|
||||
- name: "Cache cargo index"
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
path: "~/.cargo/git"
|
||||
key: "ubuntu20.04-None-1-${{ hashFiles('Cargo.lock') }}-cargo-index"
|
||||
- name: "Cache cargo build"
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
path: "target"
|
||||
key: "ubuntu20.04-None-1-${{ hashFiles('Cargo.lock') }}-cargo-build-target"
|
||||
path: |
|
||||
~/.cargo/registry
|
||||
~/.cargo/git
|
||||
target
|
||||
|
||||
key: "ubuntu20.04-None-1-${{ runner.os }}-${{ hashFiles('**/Cargo.lock') }}-cargo"
|
||||
- name: "Install System Deps"
|
||||
shell: bash
|
||||
run: "./get-deps"
|
||||
|
20
.github/workflows/gen_ubuntu20.04_continuous.yml
vendored
20
.github/workflows/gen_ubuntu20.04_continuous.yml
vendored
@ -66,21 +66,15 @@ jobs:
|
||||
toolchain: "stable"
|
||||
override: true
|
||||
components: "rustfmt"
|
||||
- name: "Cache cargo registry"
|
||||
- name: "Cache cargo"
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
path: "~/.cargo/registry"
|
||||
key: "ubuntu20.04-None-1-${{ hashFiles('Cargo.lock') }}-cargo-registry"
|
||||
- name: "Cache cargo index"
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
path: "~/.cargo/git"
|
||||
key: "ubuntu20.04-None-1-${{ hashFiles('Cargo.lock') }}-cargo-index"
|
||||
- name: "Cache cargo build"
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
path: "target"
|
||||
key: "ubuntu20.04-None-1-${{ hashFiles('Cargo.lock') }}-cargo-build-target"
|
||||
path: |
|
||||
~/.cargo/registry
|
||||
~/.cargo/git
|
||||
target
|
||||
|
||||
key: "ubuntu20.04-None-1-${{ runner.os }}-${{ hashFiles('**/Cargo.lock') }}-cargo"
|
||||
- name: "Install System Deps"
|
||||
shell: bash
|
||||
run: |
|
||||
|
20
.github/workflows/gen_ubuntu20.04_tag.yml
vendored
20
.github/workflows/gen_ubuntu20.04_tag.yml
vendored
@ -43,21 +43,15 @@ jobs:
|
||||
toolchain: "stable"
|
||||
override: true
|
||||
components: "rustfmt"
|
||||
- name: "Cache cargo registry"
|
||||
- name: "Cache cargo"
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
path: "~/.cargo/registry"
|
||||
key: "ubuntu20.04-None-1-${{ hashFiles('Cargo.lock') }}-cargo-registry"
|
||||
- name: "Cache cargo index"
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
path: "~/.cargo/git"
|
||||
key: "ubuntu20.04-None-1-${{ hashFiles('Cargo.lock') }}-cargo-index"
|
||||
- name: "Cache cargo build"
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
path: "target"
|
||||
key: "ubuntu20.04-None-1-${{ hashFiles('Cargo.lock') }}-cargo-build-target"
|
||||
path: |
|
||||
~/.cargo/registry
|
||||
~/.cargo/git
|
||||
target
|
||||
|
||||
key: "ubuntu20.04-None-1-${{ runner.os }}-${{ hashFiles('**/Cargo.lock') }}-cargo"
|
||||
- name: "Install System Deps"
|
||||
shell: bash
|
||||
run: "./get-deps"
|
||||
|
20
.github/workflows/gen_windows.yml
vendored
20
.github/workflows/gen_windows.yml
vendored
@ -35,21 +35,15 @@ jobs:
|
||||
override: true
|
||||
components: "rustfmt"
|
||||
target: "x86_64-pc-windows-msvc"
|
||||
- name: "Cache cargo registry"
|
||||
- name: "Cache cargo"
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
path: "~/.cargo/registry"
|
||||
key: "windows-x86_64-pc-windows-msvc-1-${{ hashFiles('Cargo.lock') }}-cargo-registry"
|
||||
- name: "Cache cargo index"
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
path: "~/.cargo/git"
|
||||
key: "windows-x86_64-pc-windows-msvc-1-${{ hashFiles('Cargo.lock') }}-cargo-index"
|
||||
- name: "Cache cargo build"
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
path: "target"
|
||||
key: "windows-x86_64-pc-windows-msvc-1-${{ hashFiles('Cargo.lock') }}-cargo-build-target"
|
||||
path: |
|
||||
~/.cargo/registry
|
||||
~/.cargo/git
|
||||
target
|
||||
|
||||
key: "windows-x86_64-pc-windows-msvc-1-${{ runner.os }}-${{ hashFiles('**/Cargo.lock') }}-cargo"
|
||||
- name: "Check formatting"
|
||||
shell: bash
|
||||
run: "cargo fmt --all -- --check"
|
||||
|
20
.github/workflows/gen_windows_continuous.yml
vendored
20
.github/workflows/gen_windows_continuous.yml
vendored
@ -39,21 +39,15 @@ jobs:
|
||||
override: true
|
||||
components: "rustfmt"
|
||||
target: "x86_64-pc-windows-msvc"
|
||||
- name: "Cache cargo registry"
|
||||
- name: "Cache cargo"
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
path: "~/.cargo/registry"
|
||||
key: "windows-x86_64-pc-windows-msvc-1-${{ hashFiles('Cargo.lock') }}-cargo-registry"
|
||||
- name: "Cache cargo index"
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
path: "~/.cargo/git"
|
||||
key: "windows-x86_64-pc-windows-msvc-1-${{ hashFiles('Cargo.lock') }}-cargo-index"
|
||||
- name: "Cache cargo build"
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
path: "target"
|
||||
key: "windows-x86_64-pc-windows-msvc-1-${{ hashFiles('Cargo.lock') }}-cargo-build-target"
|
||||
path: |
|
||||
~/.cargo/registry
|
||||
~/.cargo/git
|
||||
target
|
||||
|
||||
key: "windows-x86_64-pc-windows-msvc-1-${{ runner.os }}-${{ hashFiles('**/Cargo.lock') }}-cargo"
|
||||
- name: "Build (Release mode)"
|
||||
shell: cmd
|
||||
run: |
|
||||
|
20
.github/workflows/gen_windows_tag.yml
vendored
20
.github/workflows/gen_windows_tag.yml
vendored
@ -32,21 +32,15 @@ jobs:
|
||||
override: true
|
||||
components: "rustfmt"
|
||||
target: "x86_64-pc-windows-msvc"
|
||||
- name: "Cache cargo registry"
|
||||
- name: "Cache cargo"
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
path: "~/.cargo/registry"
|
||||
key: "windows-x86_64-pc-windows-msvc-1-${{ hashFiles('Cargo.lock') }}-cargo-registry"
|
||||
- name: "Cache cargo index"
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
path: "~/.cargo/git"
|
||||
key: "windows-x86_64-pc-windows-msvc-1-${{ hashFiles('Cargo.lock') }}-cargo-index"
|
||||
- name: "Cache cargo build"
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
path: "target"
|
||||
key: "windows-x86_64-pc-windows-msvc-1-${{ hashFiles('Cargo.lock') }}-cargo-build-target"
|
||||
path: |
|
||||
~/.cargo/registry
|
||||
~/.cargo/git
|
||||
target
|
||||
|
||||
key: "windows-x86_64-pc-windows-msvc-1-${{ runner.os }}-${{ hashFiles('**/Cargo.lock') }}-cargo"
|
||||
- name: "Build (Release mode)"
|
||||
shell: cmd
|
||||
run: |
|
||||
|
@ -198,7 +198,7 @@ ln -s /usr/local/git/bin/git /usr/local/bin/git
|
||||
def install_rust(self):
|
||||
salt = "1"
|
||||
key_prefix = (
|
||||
f"{self.name}-{self.rust_target}-{salt}-${{{{ hashFiles('Cargo.lock') }}}}"
|
||||
f"{self.name}-{self.rust_target}-{salt}-${{{{ runner.os }}}}-${{{{ hashFiles('**/Cargo.lock') }}}}"
|
||||
)
|
||||
params = {
|
||||
"profile": "minimal",
|
||||
@ -213,19 +213,9 @@ ln -s /usr/local/git/bin/git /usr/local/bin/git
|
||||
name="Install Rust", action="actions-rs/toolchain@v1", params=params,
|
||||
),
|
||||
CacheStep(
|
||||
name="Cache cargo registry",
|
||||
path="~/.cargo/registry",
|
||||
key=f"{key_prefix}-cargo-registry",
|
||||
),
|
||||
CacheStep(
|
||||
name="Cache cargo index",
|
||||
path="~/.cargo/git",
|
||||
key=f"{key_prefix}-cargo-index",
|
||||
),
|
||||
CacheStep(
|
||||
name="Cache cargo build",
|
||||
path="target",
|
||||
key=f"{key_prefix}-cargo-build-target",
|
||||
name="Cache cargo",
|
||||
path="~/.cargo/registry\n~/.cargo/git\ntarget",
|
||||
key=f"{key_prefix}-cargo",
|
||||
),
|
||||
]
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user