Unverified Commit 5dbd1df4 authored by James Lamb's avatar James Lamb Committed by GitHub
Browse files

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



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

* add git to sanitizers container

* install git before checkout

* Update .github/workflows/r_package.yml
Co-authored-by: default avatarNikita Titov <nekit94-08@mail.ru>
Co-authored-by: default avatarNikita Titov <nekit94-08@mail.ru>
parent 3db7c1b7
......@@ -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
......
......@@ -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
......
......@@ -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
......@@ -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
......@@ -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
......
......@@ -13,7 +13,7 @@ jobs:
container: wch1/r-debug
steps:
- name: Checkout repository
uses: actions/checkout@v1
uses: actions/checkout@v2.3.4
with:
fetch-depth: 5
submodules: true
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment