on master help sign in
CI: use checkout v2
e31e35c谭九鼎
.github/workflows/CICD.yml+4−4
@@ -15,7 +15,7 @@ jobs:
15 runs-on: ubuntu-latest
15 runs-on: ubuntu-latest
16 steps:
16 steps:
17 - name: Git checkout
17 - name: Git checkout
18− uses: actions/checkout@v1
18+ uses: actions/checkout@v2
19 - name: Install rust toolchain (v${{ env.MIN_SUPPORTED_RUST_VERSION }})
19 - name: Install rust toolchain (v${{ env.MIN_SUPPORTED_RUST_VERSION }})
20 uses: actions-rs/toolchain@v1
20 uses: actions-rs/toolchain@v1
21 with:
21 with:
@@ -32,7 +32,7 @@ jobs:
32 runs-on: ubuntu-latest
32 runs-on: ubuntu-latest
33 steps:
33 steps:
34 - name: Git checkout
34 - name: Git checkout
35− uses: actions/checkout@v1
35+ uses: actions/checkout@v2
36 with:
36 with:
37 submodules: true # we need all syntax and theme submodules
37 submodules: true # we need all syntax and theme submodules
38 - name: Install Rust toolchain
38 - name: Install Rust toolchain
@@ -87,7 +87,7 @@ jobs:
87 - { os: windows-latest , target: x86_64-pc-windows-msvc }
87 - { os: windows-latest , target: x86_64-pc-windows-msvc }
88 steps:
88 steps:
89 - name: Git checkout
89 - name: Git checkout
90− uses: actions/checkout@v1
90+ uses: actions/checkout@v2
91 - name: Install prerequisites
91 - name: Install prerequisites
92 shell: bash
92 shell: bash
93 run: |
93 run: |
@@ -412,7 +412,7 @@ jobs:
412 - { os: macos-latest , toolchain: nightly-2020-04-29 }
412 - { os: macos-latest , toolchain: nightly-2020-04-29 }
413 - { os: windows-latest , toolchain: nightly-2020-04-29-x86_64-pc-windows-gnu }
413 - { os: windows-latest , toolchain: nightly-2020-04-29-x86_64-pc-windows-gnu }
414 steps:
414 steps:
415− - uses: actions/checkout@v1
415+ - uses: actions/checkout@v2
416 - name: Initialize workflow variables
416 - name: Initialize workflow variables
417 id: vars
417 id: vars
418 shell: bash
418 shell: bash