From 1ecf72558b5920400d26e3539f80049eb70dd562 Mon Sep 17 00:00:00 2001 From: William Gearty Date: Mon, 9 Oct 2023 09:49:12 -0400 Subject: [PATCH] Upgrade linux tests --- .github/workflows/R-CMD-check.yaml | 19 +++---------------- 1 file changed, 3 insertions(+), 16 deletions(-) diff --git a/.github/workflows/R-CMD-check.yaml b/.github/workflows/R-CMD-check.yaml index a87ff1a1..3988c7d5 100644 --- a/.github/workflows/R-CMD-check.yaml +++ b/.github/workflows/R-CMD-check.yaml @@ -20,9 +20,9 @@ jobs: config: - {os: macos-latest, r: 'release'} - {os: windows-latest, r: 'release'} - - {os: ubuntu-20.04, r: 'devel', http-user-agent: 'release'} - - {os: ubuntu-20.04, r: 'release'} - - {os: ubuntu-20.04, r: 'oldrel-1'} + - {os: ubuntu-22.04, r: 'devel', http-user-agent: 'release'} + - {os: ubuntu-22.04, r: 'release'} + - {os: ubuntu-22.04, r: 'oldrel-1'} env: GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }} @@ -44,19 +44,6 @@ jobs: extra-packages: any::rcmdcheck needs: check - - name: Downgrade librsvg2 if needed - if: runner.os == 'Linux' - run: | - curl -O http://launchpadlibrarian.net/509454689/librsvg2-2_2.48.9-1ubuntu0.20.04.1_amd64.deb - sudo apt install --fix-broken --allow-downgrades ./librsvg2-2_2.48.9-1ubuntu0.20.04.1_amd64.deb - curl -O http://launchpadlibrarian.net/509454691/librsvg2-common_2.48.9-1ubuntu0.20.04.1_amd64.deb - sudo apt install --fix-broken --allow-downgrades ./librsvg2-common_2.48.9-1ubuntu0.20.04.1_amd64.deb - curl -O http://launchpadlibrarian.net/509454680/gir1.2-rsvg-2.0_2.48.9-1ubuntu0.20.04.1_amd64.deb - sudo apt install --fix-broken --allow-downgrades ./gir1.2-rsvg-2.0_2.48.9-1ubuntu0.20.04.1_amd64.deb - curl -O http://launchpadlibrarian.net/509454685/librsvg2-dev_2.48.9-1ubuntu0.20.04.1_amd64.deb - sudo apt install --fix-broken --allow-downgrades ./librsvg2-dev_2.48.9-1ubuntu0.20.04.1_amd64.deb - shell: bash - - uses: r-lib/actions/check-r-package@v2 with: upload-snapshots: true