From a1d8cf47716dc981d0209a2517315d971a212ab1 Mon Sep 17 00:00:00 2001 From: James Lamb Date: Tue, 2 Nov 2021 17:59:23 -0500 Subject: [PATCH 1/4] [ci] upgrade actions/checkout to v2.4.0 --- .github/workflows/cuda.yml | 2 +- .github/workflows/linkchecker.yml | 2 +- .github/workflows/optional_checks.yml | 2 +- .github/workflows/python_package.yml | 2 +- .github/workflows/r_configure.yml | 2 +- .github/workflows/r_package.yml | 6 +++--- .github/workflows/r_solaris.yml | 2 +- .github/workflows/r_valgrind.yml | 2 +- .github/workflows/static_analysis.yml | 4 ++-- .github/workflows/triggering_comments.yml | 2 +- 10 files changed, 13 insertions(+), 13 deletions(-) diff --git a/.github/workflows/cuda.yml b/.github/workflows/cuda.yml index 822ea2d44b82..5eb66c26a44b 100644 --- a/.github/workflows/cuda.yml +++ b/.github/workflows/cuda.yml @@ -62,7 +62,7 @@ jobs: - name: Remove old folder with repository run: sudo rm -rf $GITHUB_WORKSPACE - name: Checkout repository - uses: actions/checkout@v1 + uses: actions/checkout@v2.4.0 with: fetch-depth: 5 submodules: true diff --git a/.github/workflows/linkchecker.yml b/.github/workflows/linkchecker.yml index 13fd3303e54f..0e570109518b 100644 --- a/.github/workflows/linkchecker.yml +++ b/.github/workflows/linkchecker.yml @@ -20,7 +20,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout repository - uses: actions/checkout@v2.3.4 + uses: actions/checkout@v2.4.0 with: fetch-depth: 5 submodules: false diff --git a/.github/workflows/optional_checks.yml b/.github/workflows/optional_checks.yml index 9b679986f6ec..4cdb51327bba 100644 --- a/.github/workflows/optional_checks.yml +++ b/.github/workflows/optional_checks.yml @@ -11,7 +11,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout repository - uses: actions/checkout@v2.3.4 + uses: actions/checkout@v2.4.0 with: fetch-depth: 5 submodules: false diff --git a/.github/workflows/python_package.yml b/.github/workflows/python_package.yml index 22a9b58ef993..f97aaa8f2cbc 100644 --- a/.github/workflows/python_package.yml +++ b/.github/workflows/python_package.yml @@ -47,7 +47,7 @@ jobs: python_version: 3.7 steps: - name: Checkout repository - uses: actions/checkout@v2.3.4 + uses: actions/checkout@v2.4.0 with: fetch-depth: 5 submodules: true diff --git a/.github/workflows/r_configure.yml b/.github/workflows/r_configure.yml index 812f8f5ec310..d450abe866f4 100644 --- a/.github/workflows/r_configure.yml +++ b/.github/workflows/r_configure.yml @@ -18,7 +18,7 @@ jobs: ca-certificates \ git - name: Checkout repository - uses: actions/checkout@v2.3.4 + uses: actions/checkout@v2.4.0 with: fetch-depth: 5 submodules: true diff --git a/.github/workflows/r_package.yml b/.github/workflows/r_package.yml index 13127c25b047..8746297ba159 100644 --- a/.github/workflows/r_package.yml +++ b/.github/workflows/r_package.yml @@ -137,7 +137,7 @@ jobs: shell: pwsh run: git config --global core.autocrlf false - name: Checkout repository - uses: actions/checkout@v2.3.4 + uses: actions/checkout@v2.4.0 with: fetch-depth: 5 submodules: true @@ -187,7 +187,7 @@ jobs: compiler: clang steps: - name: Checkout repository - uses: actions/checkout@v2.3.4 + uses: actions/checkout@v2.4.0 with: fetch-depth: 5 submodules: true @@ -217,7 +217,7 @@ jobs: apt-get update --allow-releaseinfo-change apt-get install --no-install-recommends -y git - name: Checkout repository - uses: actions/checkout@v2.3.4 + uses: actions/checkout@v2.4.0 with: fetch-depth: 5 submodules: true diff --git a/.github/workflows/r_solaris.yml b/.github/workflows/r_solaris.yml index 662307fce35d..32184552b836 100644 --- a/.github/workflows/r_solaris.yml +++ b/.github/workflows/r_solaris.yml @@ -22,7 +22,7 @@ jobs: git \ jq - name: Checkout repository - uses: actions/checkout@v2.3.4 + uses: actions/checkout@v2.4.0 with: fetch-depth: 5 submodules: true diff --git a/.github/workflows/r_valgrind.yml b/.github/workflows/r_valgrind.yml index ff37c212a7eb..e2b80ea6ef2e 100644 --- a/.github/workflows/r_valgrind.yml +++ b/.github/workflows/r_valgrind.yml @@ -22,7 +22,7 @@ jobs: git \ jq - name: Checkout repository - uses: actions/checkout@v2.3.4 + uses: actions/checkout@v2.4.0 with: fetch-depth: 5 submodules: true diff --git a/.github/workflows/static_analysis.yml b/.github/workflows/static_analysis.yml index cdc917903f46..77be3c89eae4 100644 --- a/.github/workflows/static_analysis.yml +++ b/.github/workflows/static_analysis.yml @@ -30,7 +30,7 @@ jobs: - task: check-docs steps: - name: Checkout repository - uses: actions/checkout@v2.3.4 + uses: actions/checkout@v2.4.0 with: fetch-depth: 5 submodules: false @@ -50,7 +50,7 @@ jobs: container: rocker/verse steps: - name: Checkout repository - uses: actions/checkout@v2.3.4 + uses: actions/checkout@v2.4.0 with: fetch-depth: 5 submodules: true diff --git a/.github/workflows/triggering_comments.yml b/.github/workflows/triggering_comments.yml index dad50923facd..c361eabb9089 100644 --- a/.github/workflows/triggering_comments.yml +++ b/.github/workflows/triggering_comments.yml @@ -12,7 +12,7 @@ jobs: SECRETS_WORKFLOW: ${{ secrets.WORKFLOW }} steps: - name: Checkout repository - uses: actions/checkout@v2.3.4 + uses: actions/checkout@v2.4.0 with: fetch-depth: 5 submodules: false From eb8cc10debe4a8f19f75d860ce89069e551ef880 Mon Sep 17 00:00:00 2001 From: James Lamb Date: Tue, 2 Nov 2021 18:12:04 -0500 Subject: [PATCH 2/4] re-create GITHUB_WORKSPACE --- .github/workflows/cuda.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/cuda.yml b/.github/workflows/cuda.yml index 5eb66c26a44b..2d1e0d8684b5 100644 --- a/.github/workflows/cuda.yml +++ b/.github/workflows/cuda.yml @@ -60,7 +60,9 @@ jobs: sudo chmod a+rw /var/run/docker.sock sudo systemctl restart docker - name: Remove old folder with repository - run: sudo rm -rf $GITHUB_WORKSPACE + run: | + sudo rm -rf $GITHUB_WORKSPACE + mkdir -p $GITHUB_WORKSPACE - name: Checkout repository uses: actions/checkout@v2.4.0 with: From cc9a56bc482b24127451570a43397519fdb99356 Mon Sep 17 00:00:00 2001 From: James Lamb Date: Tue, 2 Nov 2021 18:14:55 -0500 Subject: [PATCH 3/4] dont update cuda --- .github/workflows/cuda.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/cuda.yml b/.github/workflows/cuda.yml index 2d1e0d8684b5..c67d82ddc2b1 100644 --- a/.github/workflows/cuda.yml +++ b/.github/workflows/cuda.yml @@ -60,11 +60,9 @@ jobs: sudo chmod a+rw /var/run/docker.sock sudo systemctl restart docker - name: Remove old folder with repository - run: | - sudo rm -rf $GITHUB_WORKSPACE - mkdir -p $GITHUB_WORKSPACE + run: sudo rm -rf $GITHUB_WORKSPACE - name: Checkout repository - uses: actions/checkout@v2.4.0 + uses: actions/checkout@v2.3.4 with: fetch-depth: 5 submodules: true From 53a7ff9d279248e9999a01df5674234ba58843c5 Mon Sep 17 00:00:00 2001 From: James Lamb Date: Tue, 2 Nov 2021 19:32:53 -0500 Subject: [PATCH 4/4] actually revert cuda --- .github/workflows/cuda.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/cuda.yml b/.github/workflows/cuda.yml index c67d82ddc2b1..822ea2d44b82 100644 --- a/.github/workflows/cuda.yml +++ b/.github/workflows/cuda.yml @@ -62,7 +62,7 @@ jobs: - name: Remove old folder with repository run: sudo rm -rf $GITHUB_WORKSPACE - name: Checkout repository - uses: actions/checkout@v2.3.4 + uses: actions/checkout@v1 with: fetch-depth: 5 submodules: true