speculative fix for CI (#333)
* speculative fix for CI GitHub made a breaking change, and this may get us through until this action is updated. refs: https://github.com/actions-rs/toolchain/pull/114 refs: https://github.com/actions-rs/toolchain/issues/124
This commit is contained in:
1 parent
0bb02ff674
commit
8b9f6aed65
37 files changed
+127
-40
No files matched your search
@@ -53,12 +53,14 @@ jobs:
|
||||
shell: bash
|
||||
run: "git fetch --prune --unshallow"
|
||||
- name: "Install Rust"
|
||||
uses: actions-rs/toolchain@v1
|
||||
uses: actions-rs/toolchain@dependabot/npm_and_yarn/actions/core-1.2.6
|
||||
with:
|
||||
profile: "minimal"
|
||||
toolchain: "stable"
|
||||
override: true
|
||||
components: "rustfmt"
|
||||
env:
|
||||
ACTIONS_ALLOW_UNSECURE_COMMANDS: "true"
|
||||
- name: "Cache cargo"
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
|
||||
@@ -63,12 +63,14 @@ jobs:
|
||||
|
||||
|
||||
- name: "Install Rust"
|
||||
uses: actions-rs/toolchain@v1
|
||||
uses: actions-rs/toolchain@dependabot/npm_and_yarn/actions/core-1.2.6
|
||||
with:
|
||||
profile: "minimal"
|
||||
toolchain: "stable"
|
||||
override: true
|
||||
components: "rustfmt"
|
||||
env:
|
||||
ACTIONS_ALLOW_UNSECURE_COMMANDS: "true"
|
||||
- name: "Cache cargo"
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
|
||||
@@ -50,12 +50,14 @@ jobs:
|
||||
shell: bash
|
||||
run: "git fetch --prune --unshallow"
|
||||
- name: "Install Rust"
|
||||
uses: actions-rs/toolchain@v1
|
||||
uses: actions-rs/toolchain@dependabot/npm_and_yarn/actions/core-1.2.6
|
||||
with:
|
||||
profile: "minimal"
|
||||
toolchain: "stable"
|
||||
override: true
|
||||
components: "rustfmt"
|
||||
env:
|
||||
ACTIONS_ALLOW_UNSECURE_COMMANDS: "true"
|
||||
- name: "Cache cargo"
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
|
||||
@@ -40,12 +40,14 @@ jobs:
|
||||
shell: bash
|
||||
run: "git fetch --prune --unshallow"
|
||||
- name: "Install Rust"
|
||||
uses: actions-rs/toolchain@v1
|
||||
uses: actions-rs/toolchain@dependabot/npm_and_yarn/actions/core-1.2.6
|
||||
with:
|
||||
profile: "minimal"
|
||||
toolchain: "stable"
|
||||
override: true
|
||||
components: "rustfmt"
|
||||
env:
|
||||
ACTIONS_ALLOW_UNSECURE_COMMANDS: "true"
|
||||
- name: "Cache cargo"
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
|
||||
@@ -60,12 +60,14 @@ jobs:
|
||||
|
||||
|
||||
- name: "Install Rust"
|
||||
uses: actions-rs/toolchain@v1
|
||||
uses: actions-rs/toolchain@dependabot/npm_and_yarn/actions/core-1.2.6
|
||||
with:
|
||||
profile: "minimal"
|
||||
toolchain: "stable"
|
||||
override: true
|
||||
components: "rustfmt"
|
||||
env:
|
||||
ACTIONS_ALLOW_UNSECURE_COMMANDS: "true"
|
||||
- name: "Cache cargo"
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
|
||||
@@ -37,12 +37,14 @@ jobs:
|
||||
shell: bash
|
||||
run: "git fetch --prune --unshallow"
|
||||
- name: "Install Rust"
|
||||
uses: actions-rs/toolchain@v1
|
||||
uses: actions-rs/toolchain@dependabot/npm_and_yarn/actions/core-1.2.6
|
||||
with:
|
||||
profile: "minimal"
|
||||
toolchain: "stable"
|
||||
override: true
|
||||
components: "rustfmt"
|
||||
env:
|
||||
ACTIONS_ALLOW_UNSECURE_COMMANDS: "true"
|
||||
- name: "Cache cargo"
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
|
||||
@@ -40,12 +40,14 @@ jobs:
|
||||
shell: bash
|
||||
run: "git fetch --prune --unshallow"
|
||||
- name: "Install Rust"
|
||||
uses: actions-rs/toolchain@v1
|
||||
uses: actions-rs/toolchain@dependabot/npm_and_yarn/actions/core-1.2.6
|
||||
with:
|
||||
profile: "minimal"
|
||||
toolchain: "stable"
|
||||
override: true
|
||||
components: "rustfmt"
|
||||
env:
|
||||
ACTIONS_ALLOW_UNSECURE_COMMANDS: "true"
|
||||
- name: "Cache cargo"
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
|
||||
@@ -60,12 +60,14 @@ jobs:
|
||||
|
||||
|
||||
- name: "Install Rust"
|
||||
uses: actions-rs/toolchain@v1
|
||||
uses: actions-rs/toolchain@dependabot/npm_and_yarn/actions/core-1.2.6
|
||||
with:
|
||||
profile: "minimal"
|
||||
toolchain: "stable"
|
||||
override: true
|
||||
components: "rustfmt"
|
||||
env:
|
||||
ACTIONS_ALLOW_UNSECURE_COMMANDS: "true"
|
||||
- name: "Cache cargo"
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
|
||||
@@ -37,12 +37,14 @@ jobs:
|
||||
shell: bash
|
||||
run: "git fetch --prune --unshallow"
|
||||
- name: "Install Rust"
|
||||
uses: actions-rs/toolchain@v1
|
||||
uses: actions-rs/toolchain@dependabot/npm_and_yarn/actions/core-1.2.6
|
||||
with:
|
||||
profile: "minimal"
|
||||
toolchain: "stable"
|
||||
override: true
|
||||
components: "rustfmt"
|
||||
env:
|
||||
ACTIONS_ALLOW_UNSECURE_COMMANDS: "true"
|
||||
- name: "Cache cargo"
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
|
||||
@@ -59,12 +59,14 @@ jobs:
|
||||
shell: bash
|
||||
run: "git fetch --prune --unshallow"
|
||||
- name: "Install Rust"
|
||||
uses: actions-rs/toolchain@v1
|
||||
uses: actions-rs/toolchain@dependabot/npm_and_yarn/actions/core-1.2.6
|
||||
with:
|
||||
profile: "minimal"
|
||||
toolchain: "stable"
|
||||
override: true
|
||||
components: "rustfmt"
|
||||
env:
|
||||
ACTIONS_ALLOW_UNSECURE_COMMANDS: "true"
|
||||
- name: "Cache cargo"
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
|
||||
@@ -77,12 +77,14 @@ jobs:
|
||||
|
||||
|
||||
- name: "Install Rust"
|
||||
uses: actions-rs/toolchain@v1
|
||||
uses: actions-rs/toolchain@dependabot/npm_and_yarn/actions/core-1.2.6
|
||||
with:
|
||||
profile: "minimal"
|
||||
toolchain: "stable"
|
||||
override: true
|
||||
components: "rustfmt"
|
||||
env:
|
||||
ACTIONS_ALLOW_UNSECURE_COMMANDS: "true"
|
||||
- name: "Cache cargo"
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
|
||||
@@ -56,12 +56,14 @@ jobs:
|
||||
shell: bash
|
||||
run: "git fetch --prune --unshallow"
|
||||
- name: "Install Rust"
|
||||
uses: actions-rs/toolchain@v1
|
||||
uses: actions-rs/toolchain@dependabot/npm_and_yarn/actions/core-1.2.6
|
||||
with:
|
||||
profile: "minimal"
|
||||
toolchain: "stable"
|
||||
override: true
|
||||
components: "rustfmt"
|
||||
env:
|
||||
ACTIONS_ALLOW_UNSECURE_COMMANDS: "true"
|
||||
- name: "Cache cargo"
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
|
||||
@@ -34,12 +34,14 @@ jobs:
|
||||
shell: bash
|
||||
run: "git fetch --prune --unshallow"
|
||||
- name: "Install Rust"
|
||||
uses: actions-rs/toolchain@v1
|
||||
uses: actions-rs/toolchain@dependabot/npm_and_yarn/actions/core-1.2.6
|
||||
with:
|
||||
profile: "minimal"
|
||||
toolchain: "stable"
|
||||
override: true
|
||||
components: "rustfmt"
|
||||
env:
|
||||
ACTIONS_ALLOW_UNSECURE_COMMANDS: "true"
|
||||
- name: "Cache cargo"
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
|
||||
@@ -46,12 +46,14 @@ jobs:
|
||||
|
||||
|
||||
- name: "Install Rust"
|
||||
uses: actions-rs/toolchain@v1
|
||||
uses: actions-rs/toolchain@dependabot/npm_and_yarn/actions/core-1.2.6
|
||||
with:
|
||||
profile: "minimal"
|
||||
toolchain: "stable"
|
||||
override: true
|
||||
components: "rustfmt"
|
||||
env:
|
||||
ACTIONS_ALLOW_UNSECURE_COMMANDS: "true"
|
||||
- name: "Cache cargo"
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
|
||||
@@ -31,12 +31,14 @@ jobs:
|
||||
shell: bash
|
||||
run: "git fetch --prune --unshallow"
|
||||
- name: "Install Rust"
|
||||
uses: actions-rs/toolchain@v1
|
||||
uses: actions-rs/toolchain@dependabot/npm_and_yarn/actions/core-1.2.6
|
||||
with:
|
||||
profile: "minimal"
|
||||
toolchain: "stable"
|
||||
override: true
|
||||
components: "rustfmt"
|
||||
env:
|
||||
ACTIONS_ALLOW_UNSECURE_COMMANDS: "true"
|
||||
- name: "Cache cargo"
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
|
||||
@@ -34,12 +34,14 @@ jobs:
|
||||
shell: bash
|
||||
run: "git fetch --prune --unshallow"
|
||||
- name: "Install Rust"
|
||||
uses: actions-rs/toolchain@v1
|
||||
uses: actions-rs/toolchain@dependabot/npm_and_yarn/actions/core-1.2.6
|
||||
with:
|
||||
profile: "minimal"
|
||||
toolchain: "stable"
|
||||
override: true
|
||||
components: "rustfmt"
|
||||
env:
|
||||
ACTIONS_ALLOW_UNSECURE_COMMANDS: "true"
|
||||
- name: "Cache cargo"
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
|
||||
@@ -46,12 +46,14 @@ jobs:
|
||||
|
||||
|
||||
- name: "Install Rust"
|
||||
uses: actions-rs/toolchain@v1
|
||||
uses: actions-rs/toolchain@dependabot/npm_and_yarn/actions/core-1.2.6
|
||||
with:
|
||||
profile: "minimal"
|
||||
toolchain: "stable"
|
||||
override: true
|
||||
components: "rustfmt"
|
||||
env:
|
||||
ACTIONS_ALLOW_UNSECURE_COMMANDS: "true"
|
||||
- name: "Cache cargo"
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
|
||||
@@ -31,12 +31,14 @@ jobs:
|
||||
shell: bash
|
||||
run: "git fetch --prune --unshallow"
|
||||
- name: "Install Rust"
|
||||
uses: actions-rs/toolchain@v1
|
||||
uses: actions-rs/toolchain@dependabot/npm_and_yarn/actions/core-1.2.6
|
||||
with:
|
||||
profile: "minimal"
|
||||
toolchain: "stable"
|
||||
override: true
|
||||
components: "rustfmt"
|
||||
env:
|
||||
ACTIONS_ALLOW_UNSECURE_COMMANDS: "true"
|
||||
- name: "Cache cargo"
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
|
||||
@@ -36,12 +36,14 @@ jobs:
|
||||
|
||||
|
||||
- name: "Install Rust"
|
||||
uses: actions-rs/toolchain@v1
|
||||
uses: actions-rs/toolchain@dependabot/npm_and_yarn/actions/core-1.2.6
|
||||
with:
|
||||
profile: "minimal"
|
||||
toolchain: "stable"
|
||||
override: true
|
||||
components: "rustfmt"
|
||||
env:
|
||||
ACTIONS_ALLOW_UNSECURE_COMMANDS: "true"
|
||||
- name: "Install System Deps"
|
||||
shell: bash
|
||||
run: |
|
||||
|
||||
@@ -36,12 +36,14 @@ jobs:
|
||||
|
||||
|
||||
- name: "Install Rust"
|
||||
uses: actions-rs/toolchain@v1
|
||||
uses: actions-rs/toolchain@dependabot/npm_and_yarn/actions/core-1.2.6
|
||||
with:
|
||||
profile: "minimal"
|
||||
toolchain: "stable"
|
||||
override: true
|
||||
components: "rustfmt"
|
||||
env:
|
||||
ACTIONS_ALLOW_UNSECURE_COMMANDS: "true"
|
||||
- name: "Install System Deps"
|
||||
shell: bash
|
||||
run: |
|
||||
|
||||
@@ -33,12 +33,14 @@ jobs:
|
||||
|
||||
|
||||
- name: "Install Rust"
|
||||
uses: actions-rs/toolchain@v1
|
||||
uses: actions-rs/toolchain@dependabot/npm_and_yarn/actions/core-1.2.6
|
||||
with:
|
||||
profile: "minimal"
|
||||
toolchain: "stable"
|
||||
override: true
|
||||
components: "rustfmt"
|
||||
env:
|
||||
ACTIONS_ALLOW_UNSECURE_COMMANDS: "true"
|
||||
- name: "Install System Deps"
|
||||
shell: bash
|
||||
run: |
|
||||
|
||||
@@ -34,12 +34,14 @@ jobs:
|
||||
shell: bash
|
||||
run: "git fetch --prune --unshallow"
|
||||
- name: "Install Rust"
|
||||
uses: actions-rs/toolchain@v1
|
||||
uses: actions-rs/toolchain@dependabot/npm_and_yarn/actions/core-1.2.6
|
||||
with:
|
||||
profile: "minimal"
|
||||
toolchain: "stable"
|
||||
override: true
|
||||
components: "rustfmt"
|
||||
env:
|
||||
ACTIONS_ALLOW_UNSECURE_COMMANDS: "true"
|
||||
- name: "Cache cargo"
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
|
||||
@@ -46,12 +46,14 @@ jobs:
|
||||
|
||||
|
||||
- name: "Install Rust"
|
||||
uses: actions-rs/toolchain@v1
|
||||
uses: actions-rs/toolchain@dependabot/npm_and_yarn/actions/core-1.2.6
|
||||
with:
|
||||
profile: "minimal"
|
||||
toolchain: "stable"
|
||||
override: true
|
||||
components: "rustfmt"
|
||||
env:
|
||||
ACTIONS_ALLOW_UNSECURE_COMMANDS: "true"
|
||||
- name: "Cache cargo"
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
|
||||
@@ -31,12 +31,14 @@ jobs:
|
||||
shell: bash
|
||||
run: "git fetch --prune --unshallow"
|
||||
- name: "Install Rust"
|
||||
uses: actions-rs/toolchain@v1
|
||||
uses: actions-rs/toolchain@dependabot/npm_and_yarn/actions/core-1.2.6
|
||||
with:
|
||||
profile: "minimal"
|
||||
toolchain: "stable"
|
||||
override: true
|
||||
components: "rustfmt"
|
||||
env:
|
||||
ACTIONS_ALLOW_UNSECURE_COMMANDS: "true"
|
||||
- name: "Cache cargo"
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
|
||||
@@ -34,12 +34,14 @@ jobs:
|
||||
shell: bash
|
||||
run: "git fetch --prune --unshallow"
|
||||
- name: "Install Rust"
|
||||
uses: actions-rs/toolchain@v1
|
||||
uses: actions-rs/toolchain@dependabot/npm_and_yarn/actions/core-1.2.6
|
||||
with:
|
||||
profile: "minimal"
|
||||
toolchain: "stable"
|
||||
override: true
|
||||
components: "rustfmt"
|
||||
env:
|
||||
ACTIONS_ALLOW_UNSECURE_COMMANDS: "true"
|
||||
- name: "Cache cargo"
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
|
||||
@@ -46,12 +46,14 @@ jobs:
|
||||
|
||||
|
||||
- name: "Install Rust"
|
||||
uses: actions-rs/toolchain@v1
|
||||
uses: actions-rs/toolchain@dependabot/npm_and_yarn/actions/core-1.2.6
|
||||
with:
|
||||
profile: "minimal"
|
||||
toolchain: "stable"
|
||||
override: true
|
||||
components: "rustfmt"
|
||||
env:
|
||||
ACTIONS_ALLOW_UNSECURE_COMMANDS: "true"
|
||||
- name: "Cache cargo"
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
|
||||
@@ -31,12 +31,14 @@ jobs:
|
||||
shell: bash
|
||||
run: "git fetch --prune --unshallow"
|
||||
- name: "Install Rust"
|
||||
uses: actions-rs/toolchain@v1
|
||||
uses: actions-rs/toolchain@dependabot/npm_and_yarn/actions/core-1.2.6
|
||||
with:
|
||||
profile: "minimal"
|
||||
toolchain: "stable"
|
||||
override: true
|
||||
components: "rustfmt"
|
||||
env:
|
||||
ACTIONS_ALLOW_UNSECURE_COMMANDS: "true"
|
||||
- name: "Cache cargo"
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
|
||||
@@ -40,12 +40,14 @@ jobs:
|
||||
shell: bash
|
||||
run: "git fetch --prune --unshallow"
|
||||
- name: "Install Rust"
|
||||
uses: actions-rs/toolchain@v1
|
||||
uses: actions-rs/toolchain@dependabot/npm_and_yarn/actions/core-1.2.6
|
||||
with:
|
||||
profile: "minimal"
|
||||
toolchain: "stable"
|
||||
override: true
|
||||
components: "rustfmt"
|
||||
env:
|
||||
ACTIONS_ALLOW_UNSECURE_COMMANDS: "true"
|
||||
- name: "Cache cargo"
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
|
||||
@@ -60,12 +60,14 @@ jobs:
|
||||
|
||||
|
||||
- name: "Install Rust"
|
||||
uses: actions-rs/toolchain@v1
|
||||
uses: actions-rs/toolchain@dependabot/npm_and_yarn/actions/core-1.2.6
|
||||
with:
|
||||
profile: "minimal"
|
||||
toolchain: "stable"
|
||||
override: true
|
||||
components: "rustfmt"
|
||||
env:
|
||||
ACTIONS_ALLOW_UNSECURE_COMMANDS: "true"
|
||||
- name: "Cache cargo"
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
|
||||
@@ -37,12 +37,14 @@ jobs:
|
||||
shell: bash
|
||||
run: "git fetch --prune --unshallow"
|
||||
- name: "Install Rust"
|
||||
uses: actions-rs/toolchain@v1
|
||||
uses: actions-rs/toolchain@dependabot/npm_and_yarn/actions/core-1.2.6
|
||||
with:
|
||||
profile: "minimal"
|
||||
toolchain: "stable"
|
||||
override: true
|
||||
components: "rustfmt"
|
||||
env:
|
||||
ACTIONS_ALLOW_UNSECURE_COMMANDS: "true"
|
||||
- name: "Cache cargo"
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
|
||||
@@ -40,12 +40,14 @@ jobs:
|
||||
shell: bash
|
||||
run: "git fetch --prune --unshallow"
|
||||
- name: "Install Rust"
|
||||
uses: actions-rs/toolchain@v1
|
||||
uses: actions-rs/toolchain@dependabot/npm_and_yarn/actions/core-1.2.6
|
||||
with:
|
||||
profile: "minimal"
|
||||
toolchain: "stable"
|
||||
override: true
|
||||
components: "rustfmt"
|
||||
env:
|
||||
ACTIONS_ALLOW_UNSECURE_COMMANDS: "true"
|
||||
- name: "Cache cargo"
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
|
||||
@@ -60,12 +60,14 @@ jobs:
|
||||
|
||||
|
||||
- name: "Install Rust"
|
||||
uses: actions-rs/toolchain@v1
|
||||
uses: actions-rs/toolchain@dependabot/npm_and_yarn/actions/core-1.2.6
|
||||
with:
|
||||
profile: "minimal"
|
||||
toolchain: "stable"
|
||||
override: true
|
||||
components: "rustfmt"
|
||||
env:
|
||||
ACTIONS_ALLOW_UNSECURE_COMMANDS: "true"
|
||||
- name: "Cache cargo"
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
|
||||
@@ -37,12 +37,14 @@ jobs:
|
||||
shell: bash
|
||||
run: "git fetch --prune --unshallow"
|
||||
- name: "Install Rust"
|
||||
uses: actions-rs/toolchain@v1
|
||||
uses: actions-rs/toolchain@dependabot/npm_and_yarn/actions/core-1.2.6
|
||||
with:
|
||||
profile: "minimal"
|
||||
toolchain: "stable"
|
||||
override: true
|
||||
components: "rustfmt"
|
||||
env:
|
||||
ACTIONS_ALLOW_UNSECURE_COMMANDS: "true"
|
||||
- name: "Cache cargo"
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
|
||||
@@ -28,13 +28,15 @@ jobs:
|
||||
shell: bash
|
||||
run: "git fetch --prune --unshallow"
|
||||
- name: "Install Rust"
|
||||
uses: actions-rs/toolchain@v1
|
||||
uses: actions-rs/toolchain@dependabot/npm_and_yarn/actions/core-1.2.6
|
||||
with:
|
||||
profile: "minimal"
|
||||
toolchain: "stable"
|
||||
override: true
|
||||
components: "rustfmt"
|
||||
target: "x86_64-pc-windows-msvc"
|
||||
env:
|
||||
ACTIONS_ALLOW_UNSECURE_COMMANDS: "true"
|
||||
- name: "Cache cargo"
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
|
||||
@@ -32,13 +32,15 @@ jobs:
|
||||
|
||||
|
||||
- name: "Install Rust"
|
||||
uses: actions-rs/toolchain@v1
|
||||
uses: actions-rs/toolchain@dependabot/npm_and_yarn/actions/core-1.2.6
|
||||
with:
|
||||
profile: "minimal"
|
||||
toolchain: "stable"
|
||||
override: true
|
||||
components: "rustfmt"
|
||||
target: "x86_64-pc-windows-msvc"
|
||||
env:
|
||||
ACTIONS_ALLOW_UNSECURE_COMMANDS: "true"
|
||||
- name: "Cache cargo"
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
|
||||
@@ -25,13 +25,15 @@ jobs:
|
||||
shell: bash
|
||||
run: "git fetch --prune --unshallow"
|
||||
- name: "Install Rust"
|
||||
uses: actions-rs/toolchain@v1
|
||||
uses: actions-rs/toolchain@dependabot/npm_and_yarn/actions/core-1.2.6
|
||||
with:
|
||||
profile: "minimal"
|
||||
toolchain: "stable"
|
||||
override: true
|
||||
components: "rustfmt"
|
||||
target: "x86_64-pc-windows-msvc"
|
||||
env:
|
||||
ACTIONS_ALLOW_UNSECURE_COMMANDS: "true"
|
||||
- name: "Cache cargo"
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
|
||||
@@ -208,7 +208,10 @@ ln -s /usr/local/git/bin/git /usr/local/bin/git
|
||||
params["target"] = self.rust_target
|
||||
steps = [
|
||||
ActionStep(
|
||||
name="Install Rust", action="actions-rs/toolchain@v1", params=params,
|
||||
name="Install Rust",
|
||||
action="actions-rs/toolchain@dependabot/npm_and_yarn/actions/core-1.2.6",
|
||||
params=params,
|
||||
env={"ACTIONS_ALLOW_UNSECURE_COMMANDS": "true"},
|
||||
),
|
||||
]
|
||||
if cache:
|
||||
@@ -329,7 +332,9 @@ cargo build --all --release""",
|
||||
"Upload to Tagged Release",
|
||||
action="softprops/action-gh-release@v1",
|
||||
params={"files": "\n".join(patterns), "prerelease": True},
|
||||
env={"GITHUB_TOKEN": "${{ secrets.GITHUB_TOKEN }}",},
|
||||
env={
|
||||
"GITHUB_TOKEN": "${{ secrets.GITHUB_TOKEN }}",
|
||||
},
|
||||
)
|
||||
]
|
||||
|
||||
@@ -478,7 +483,12 @@ cargo build --all --release""",
|
||||
env = self.global_env()
|
||||
env["BUILD_REASON"] = "Schedule"
|
||||
|
||||
return Job(runs_on=self.os, container=self.container, steps=steps, env=env,)
|
||||
return Job(
|
||||
runs_on=self.os,
|
||||
container=self.container,
|
||||
steps=steps,
|
||||
env=env,
|
||||
)
|
||||
|
||||
def tag(self):
|
||||
steps = self.prep_environment()
|
||||
@@ -490,7 +500,12 @@ cargo build --all --release""",
|
||||
steps += self.update_homebrew_tap()
|
||||
|
||||
env = self.global_env()
|
||||
return Job(runs_on=self.os, container=self.container, steps=steps, env=env,)
|
||||
return Job(
|
||||
runs_on=self.os,
|
||||
container=self.container,
|
||||
steps=steps,
|
||||
env=env,
|
||||
)
|
||||
|
||||
|
||||
TARGETS = [
|
||||
|
||||
Reference in new issue
Block a user