mirror of
https://github.com/rust-lang/rust.git
synced 2025-05-14 02:49:40 +00:00
Update actions due to deprecation of set-env and add-path
This commit is contained in:
parent
e651a04fab
commit
2c8cd7d93c
4
.github/workflows/clippy.yml
vendored
4
.github/workflows/clippy.yml
vendored
@ -36,14 +36,14 @@ jobs:
|
|||||||
github_token: "${{ secrets.github_token }}"
|
github_token: "${{ secrets.github_token }}"
|
||||||
|
|
||||||
- name: rust-toolchain
|
- name: rust-toolchain
|
||||||
uses: actions-rs/toolchain@v1.0.3
|
uses: actions-rs/toolchain@v1.0.6
|
||||||
with:
|
with:
|
||||||
toolchain: nightly
|
toolchain: nightly
|
||||||
target: x86_64-unknown-linux-gnu
|
target: x86_64-unknown-linux-gnu
|
||||||
profile: minimal
|
profile: minimal
|
||||||
|
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v2.0.0
|
uses: actions/checkout@v2.3.3
|
||||||
|
|
||||||
- name: Run cargo update
|
- name: Run cargo update
|
||||||
run: cargo update
|
run: cargo update
|
||||||
|
14
.github/workflows/clippy_bors.yml
vendored
14
.github/workflows/clippy_bors.yml
vendored
@ -20,7 +20,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
github_token: "${{ secrets.github_token }}"
|
github_token: "${{ secrets.github_token }}"
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v2.0.0
|
uses: actions/checkout@v2.3.3
|
||||||
with:
|
with:
|
||||||
ref: ${{ github.ref }}
|
ref: ${{ github.ref }}
|
||||||
|
|
||||||
@ -81,14 +81,14 @@ jobs:
|
|||||||
if: matrix.host == 'i686-unknown-linux-gnu'
|
if: matrix.host == 'i686-unknown-linux-gnu'
|
||||||
|
|
||||||
- name: rust-toolchain
|
- name: rust-toolchain
|
||||||
uses: actions-rs/toolchain@v1.0.3
|
uses: actions-rs/toolchain@v1.0.6
|
||||||
with:
|
with:
|
||||||
toolchain: nightly
|
toolchain: nightly
|
||||||
target: ${{ matrix.host }}
|
target: ${{ matrix.host }}
|
||||||
profile: minimal
|
profile: minimal
|
||||||
|
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v2.0.0
|
uses: actions/checkout@v2.3.3
|
||||||
|
|
||||||
- name: Run cargo update
|
- name: Run cargo update
|
||||||
run: cargo update
|
run: cargo update
|
||||||
@ -177,14 +177,14 @@ jobs:
|
|||||||
github_token: "${{ secrets.github_token }}"
|
github_token: "${{ secrets.github_token }}"
|
||||||
|
|
||||||
- name: rust-toolchain
|
- name: rust-toolchain
|
||||||
uses: actions-rs/toolchain@v1.0.3
|
uses: actions-rs/toolchain@v1.0.6
|
||||||
with:
|
with:
|
||||||
toolchain: nightly
|
toolchain: nightly
|
||||||
target: x86_64-unknown-linux-gnu
|
target: x86_64-unknown-linux-gnu
|
||||||
profile: minimal
|
profile: minimal
|
||||||
|
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v2.0.0
|
uses: actions/checkout@v2.3.3
|
||||||
|
|
||||||
- name: Run cargo update
|
- name: Run cargo update
|
||||||
run: cargo update
|
run: cargo update
|
||||||
@ -258,14 +258,14 @@ jobs:
|
|||||||
github_token: "${{ secrets.github_token }}"
|
github_token: "${{ secrets.github_token }}"
|
||||||
|
|
||||||
- name: rust-toolchain
|
- name: rust-toolchain
|
||||||
uses: actions-rs/toolchain@v1.0.3
|
uses: actions-rs/toolchain@v1.0.6
|
||||||
with:
|
with:
|
||||||
toolchain: nightly
|
toolchain: nightly
|
||||||
target: x86_64-unknown-linux-gnu
|
target: x86_64-unknown-linux-gnu
|
||||||
profile: minimal
|
profile: minimal
|
||||||
|
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v2.0.0
|
uses: actions/checkout@v2.3.3
|
||||||
|
|
||||||
- name: Run cargo update
|
- name: Run cargo update
|
||||||
run: cargo update
|
run: cargo update
|
||||||
|
4
.github/workflows/clippy_dev.yml
vendored
4
.github/workflows/clippy_dev.yml
vendored
@ -23,7 +23,7 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
# Setup
|
# Setup
|
||||||
- name: rust-toolchain
|
- name: rust-toolchain
|
||||||
uses: actions-rs/toolchain@v1.0.3
|
uses: actions-rs/toolchain@v1.0.6
|
||||||
with:
|
with:
|
||||||
toolchain: nightly
|
toolchain: nightly
|
||||||
target: x86_64-unknown-linux-gnu
|
target: x86_64-unknown-linux-gnu
|
||||||
@ -31,7 +31,7 @@ jobs:
|
|||||||
components: rustfmt
|
components: rustfmt
|
||||||
|
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v2.0.0
|
uses: actions/checkout@v2.3.3
|
||||||
|
|
||||||
# Run
|
# Run
|
||||||
- name: Build
|
- name: Build
|
||||||
|
4
.github/workflows/deploy.yml
vendored
4
.github/workflows/deploy.yml
vendored
@ -21,10 +21,10 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
# Setup
|
# Setup
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v2.0.0
|
uses: actions/checkout@v2.3.3
|
||||||
|
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v2.0.0
|
uses: actions/checkout@v2.3.3
|
||||||
with:
|
with:
|
||||||
ref: ${{ env.TARGET_BRANCH }}
|
ref: ${{ env.TARGET_BRANCH }}
|
||||||
path: 'out'
|
path: 'out'
|
||||||
|
4
.github/workflows/remark.yml
vendored
4
.github/workflows/remark.yml
vendored
@ -16,10 +16,10 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
# Setup
|
# Setup
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v2.0.0
|
uses: actions/checkout@v2.3.3
|
||||||
|
|
||||||
- name: Setup Node.js
|
- name: Setup Node.js
|
||||||
uses: actions/setup-node@v1.1.0
|
uses: actions/setup-node@v1.4.4
|
||||||
|
|
||||||
- name: Install remark
|
- name: Install remark
|
||||||
run: npm install remark-cli remark-lint remark-lint-maximum-line-length remark-preset-lint-recommended
|
run: npm install remark-cli remark-lint remark-lint-maximum-line-length remark-preset-lint-recommended
|
||||||
|
Loading…
Reference in New Issue
Block a user