From: Pietro Albini Date: Wed, 4 Nov 2020 23:05:20 +0000 (+0100) Subject: ci: bump actions/checkout to version 2 X-Git-Url: https://git.lizzy.rs/?a=commitdiff_plain;ds=sidebyside;h=308dbdd9fe6f9df10386e80cbd767000ca5a3c11;p=rust.git ci: bump actions/checkout to version 2 This was recommended by GitHub Support to try reducing the things that could've caused #78743. I checked the changelog and there should be no practical impact for us (we already set an explicit fetch-depth). --- diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6025808eb61..91241d2b214 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -56,7 +56,7 @@ jobs: - name: disable git crlf conversion run: git config --global core.autocrlf false - name: checkout the source code - uses: actions/checkout@v1 + uses: actions/checkout@v2 with: fetch-depth: 2 - name: configure the PR in which the error message will be posted @@ -427,7 +427,7 @@ jobs: - name: disable git crlf conversion run: git config --global core.autocrlf false - name: checkout the source code - uses: actions/checkout@v1 + uses: actions/checkout@v2 with: fetch-depth: 2 - name: configure the PR in which the error message will be posted @@ -537,7 +537,7 @@ jobs: - name: disable git crlf conversion run: git config --global core.autocrlf false - name: checkout the source code - uses: actions/checkout@v1 + uses: actions/checkout@v2 with: fetch-depth: 2 - name: configure the PR in which the error message will be posted @@ -644,7 +644,7 @@ jobs: - name: disable git crlf conversion run: git config --global core.autocrlf false - name: checkout the source code - uses: actions/checkout@v1 + uses: actions/checkout@v2 with: fetch-depth: 2 - name: configure the PR in which the error message will be posted diff --git a/src/ci/github-actions/ci.yml b/src/ci/github-actions/ci.yml index 01f15a82f0f..0df191f8f74 100644 --- a/src/ci/github-actions/ci.yml +++ b/src/ci/github-actions/ci.yml @@ -99,7 +99,7 @@ x--expand-yaml-anchors--remove: run: git config --global core.autocrlf false - name: checkout the source code - uses: actions/checkout@v1 + uses: actions/checkout@v2 with: fetch-depth: 2