Skip to content

Commit

Permalink
using ubuntu 20.04 on pkgdown and coverage actions
Browse files Browse the repository at this point in the history
  • Loading branch information
dhersz committed Oct 19, 2023
1 parent ae3f47d commit 6b15c84
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/pkgdown.yaml
Expand Up @@ -9,9 +9,9 @@ name: pkgdown

jobs:
pkgdown:
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04
env:
RSPM: https://packagemanager.rstudio.com/cran/__linux__/bionic/latest
RSPM: https://packagemanager.rstudio.com/cran/__linux__/focal/latest
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}

steps:
Expand All @@ -34,8 +34,8 @@ jobs:
path: |
${{ env.R_LIBS_USER }}/*
!${{ env.R_LIBS_USER }}/pak
key: ubuntu-18.04-${{ steps.install-r.outputs.installed-r-version }}-1-${{ hashFiles('.github/r-depends.rds') }}
restore-keys: ubuntu-18.04-${{ steps.install-r.outputs.installed-r-version }}-1-
key: ubuntu-20.04-${{ steps.install-r.outputs.installed-r-version }}-1-${{ hashFiles('.github/r-depends.rds') }}
restore-keys: ubuntu-20.04-${{ steps.install-r.outputs.installed-r-version }}-1-

- name: Install system dependencies (Linux)
if: runner.os == 'Linux'
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/test-coverage.yaml
Expand Up @@ -10,9 +10,9 @@ name: test-coverage

jobs:
test-coverage:
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04
env:
RSPM: https://packagemanager.rstudio.com/cran/__linux__/bionic/latest
RSPM: https://packagemanager.rstudio.com/cran/__linux__/focal/latest
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}

steps:
Expand All @@ -33,8 +33,8 @@ jobs:
path: |
${{ env.R_LIBS_USER }}/*
!${{ env.R_LIBS_USER }}/pak
key: ubuntu-18.04-${{ steps.install-r.outputs.installed-r-version }}-1-${{ hashFiles('.github/r-depends.rds') }}
restore-keys: ubuntu-18.04-${{ steps.install-r.outputs.installed-r-version }}-1-
key: ubuntu-20.04-${{ steps.install-r.outputs.installed-r-version }}-1-${{ hashFiles('.github/r-depends.rds') }}
restore-keys: ubuntu-20.04-${{ steps.install-r.outputs.installed-r-version }}-1-

- name: Install system dependencies (Linux)
if: runner.os == 'Linux'
Expand Down

0 comments on commit 6b15c84

Please sign in to comment.