]> git.lizzy.rs Git - rust.git/commitdiff
ci: bump actions/checkout to version 2
authorPietro Albini <pietro@pietroalbini.org>
Wed, 4 Nov 2020 23:05:20 +0000 (00:05 +0100)
committerPietro Albini <pietro@pietroalbini.org>
Wed, 4 Nov 2020 23:05:20 +0000 (00:05 +0100)
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).

.github/workflows/ci.yml
src/ci/github-actions/ci.yml

index 6025808eb615d39f974f34ca73e1f77595310a7e..91241d2b214f9d59e9bcf26d3f3bb141a445b3f3 100644 (file)
@@ -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
index 01f15a82f0f5a0b95d589f66d3cfbbde4f0bc45b..0df191f8f7404044ab3f707508c7af706a75e328 100644 (file)
@@ -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