Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ci] upgrade GitHub Actions third-party actions to newest versions #3524

Merged
merged 6 commits into from
Nov 6, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/cuda.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,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.3.4
with:
fetch-depth: 5
submodules: true
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/r_artifacts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
container: rocker/r-base
steps:
- name: Checkout repository
uses: actions/checkout@v1
uses: actions/checkout@v2.3.4
with:
fetch-depth: 5
submodules: true
Expand Down
11 changes: 8 additions & 3 deletions .github/workflows/r_package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ jobs:
shell: pwsh
run: git config --global core.autocrlf false
- name: Checkout repository
uses: actions/checkout@v1
uses: actions/checkout@v2.3.4
with:
fetch-depth: 5
submodules: true
Expand All @@ -143,7 +143,7 @@ jobs:
$GITHUB_WORKSPACE/.ci/test.sh
- name: Use conda on Windows
if: startsWith(matrix.os, 'windows')
uses: goanpeca/setup-miniconda@v1
uses: conda-incubator/setup-miniconda@v1.7.0
with:
auto-update-conda: false
- name: Setup and run tests on Windows
Expand All @@ -165,8 +165,13 @@ jobs:
runs-on: ubuntu-latest
container: rhub/rocker-gcc-san
steps:
- name: Install Git before checkout
shell: bash
run: |
apt-get update
apt-get install --no-install-recommends -y git
- name: Checkout repository
uses: actions/checkout@v1
uses: actions/checkout@v2.3.4
with:
fetch-depth: 5
submodules: true
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/r_valgrind.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
container: wch1/r-debug
steps:
- name: Checkout repository
uses: actions/checkout@v1
uses: actions/checkout@v2.3.4
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/gha run r-valgrind

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks like valgrind is happy with this change. I did check before that the image we use for valgrind tests had a recent version of git in it, and it does.

https://github.com/microsoft/LightGBM/runs/1349685476?check_suite_focus=true

with:
fetch-depth: 5
submodules: true
Expand Down