From b6327f421d1e6f98a93efd0604c2d33cf49db968 Mon Sep 17 00:00:00 2001 From: Jeroen Ooms Date: Fri, 4 Oct 2024 17:03:28 +0200 Subject: [PATCH] Use distro version of cargo to test --- .github/workflows/R-CMD-check.yaml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/R-CMD-check.yaml b/.github/workflows/R-CMD-check.yaml index 8854b0f..fdc1038 100644 --- a/.github/workflows/R-CMD-check.yaml +++ b/.github/workflows/R-CMD-check.yaml @@ -23,13 +23,21 @@ jobs: - {os: macOS-13, r: 'release'} - {os: macOS-14, r: 'release'} - {os: ubuntu-latest, r: 'devel', http-user-agent: 'release'} - - {os: ubuntu-latest, r: 'release'} + - {os: ubuntu-24.04, r: 'release'} + - {os: ubuntu-22.04, r: 'release'} + - {os: ubuntu-20.04, r: 'release'} env: GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }} R_KEEP_PKG_SOURCE: yes steps: + - if: runner.os == 'linux' + run: | + rustup self uninstall -y + sudo apt-get update -y + sudo apt-get install -y cargo + - uses: actions/checkout@v4 - uses: r-lib/actions/setup-r@v2