diff --git a/.github/workflows/R-CMD-check.yaml b/.github/workflows/R-CMD-check.yaml index 8854b0f..3b5ae14 100644 --- a/.github/workflows/R-CMD-check.yaml +++ b/.github/workflows/R-CMD-check.yaml @@ -23,13 +23,23 @@ 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 + cargo --version + rustc --version + - uses: actions/checkout@v4 - uses: r-lib/actions/setup-r@v2