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: ...@@ -38,7 +38,7 @@ jobs:
- name: Remove old folder with repository - name: Remove old folder with repository
run: sudo rm -rf $GITHUB_WORKSPACE run: sudo rm -rf $GITHUB_WORKSPACE
- name: Checkout repository - name: Checkout repository
uses: actions/checkout@v1 uses: actions/checkout@v2.3.4
with: with:
fetch-depth: 5 fetch-depth: 5
submodules: true submodules: true
......
...@@ -13,7 +13,7 @@ jobs: ...@@ -13,7 +13,7 @@ jobs:
container: rocker/r-base container: rocker/r-base
steps: steps:
- name: Checkout repository - name: Checkout repository
uses: actions/checkout@v1 uses: actions/checkout@v2.3.4
with: with:
fetch-depth: 5 fetch-depth: 5
submodules: true submodules: true
......
...@@ -116,7 +116,7 @@ jobs: ...@@ -116,7 +116,7 @@ jobs:
shell: pwsh shell: pwsh
run: git config --global core.autocrlf false run: git config --global core.autocrlf false
- name: Checkout repository - name: Checkout repository
uses: actions/checkout@v1 uses: actions/checkout@v2.3.4
with: with:
fetch-depth: 5 fetch-depth: 5
submodules: true submodules: true
...@@ -143,7 +143,7 @@ jobs: ...@@ -143,7 +143,7 @@ jobs:
$GITHUB_WORKSPACE/.ci/test.sh $GITHUB_WORKSPACE/.ci/test.sh
- name: Use conda on Windows - name: Use conda on Windows
if: startsWith(matrix.os, 'windows') if: startsWith(matrix.os, 'windows')
uses: goanpeca/setup-miniconda@v1 uses: conda-incubator/setup-miniconda@v1.7.0
with: with:
auto-update-conda: false auto-update-conda: false
- name: Setup and run tests on Windows - name: Setup and run tests on Windows
...@@ -165,8 +165,13 @@ jobs: ...@@ -165,8 +165,13 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
container: rhub/rocker-gcc-san container: rhub/rocker-gcc-san
steps: steps:
- name: Install Git before checkout
shell: bash
run: |
apt-get update
apt-get install --no-install-recommends -y git
- name: Checkout repository - name: Checkout repository
uses: actions/checkout@v1 uses: actions/checkout@v2.3.4
with: with:
fetch-depth: 5 fetch-depth: 5
submodules: true submodules: true
......
...@@ -13,7 +13,7 @@ jobs: ...@@ -13,7 +13,7 @@ jobs:
container: wch1/r-debug container: wch1/r-debug
steps: steps:
- name: Checkout repository - name: Checkout repository
uses: actions/checkout@v1 uses: actions/checkout@v2.3.4
with: with:
fetch-depth: 5 fetch-depth: 5
submodules: true 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