From d2cfea07c1c46a483f429317d730723e455b37e9 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..99d609d 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 + apt-get update -y + apt-get install -y cargo + - uses: actions/checkout@v4 - uses: r-lib/actions/setup-r@v2