Skip to content

Commit

Permalink
GHA use ubuntu-latest
Browse files Browse the repository at this point in the history
  • Loading branch information
achubaty committed Nov 25, 2024
1 parent 50ed66d commit c618ccf
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions .github/workflows/R-CMD-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,14 @@ jobs:
- {os: windows-latest, r: 'release'}
- {os: windows-latest, r: 'oldrel/1'}
- {os: windows-latest, r: 'oldrel/2'}
- {os: ubuntu-20.04, r: 'devel'}
- {os: ubuntu-20.04, r: 'release'}
- {os: ubuntu-20.04, r: 'oldrel/1'}
- {os: ubuntu-20.04, r: 'oldrel/2'}
- {os: windows-latest, r: 'oldrel/3'}
- {os: windows-latest, r: 'oldrel/4'}
- {os: ubuntu-latest, r: 'devel'}
- {os: ubuntu-latest, r: 'release'}
- {os: ubuntu-latest, r: 'oldrel/1'}
- {os: ubuntu-latest, r: 'oldrel/2'}
- {os: ubuntu-latest, r: 'oldrel/3'}
- {os: ubuntu-latest, r: 'oldrel/4'}

env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -49,7 +53,7 @@ jobs:
use-public-rspm: true

- name: Set additional env vars for checks when on Ubuntu
if: ${{ matrix.config.os == 'ubuntu-20.04' }}
if: ${{ matrix.config.os == 'ubuntu-latest' }}
run: |
echo "_R_CHECK_THINGS_IN_OTHER_DIRS_=true" >> $GITHUB_ENV
Expand Down

0 comments on commit c618ccf

Please sign in to comment.