Skip to content

Commit

Permalink
simplify r cmd check options
Browse files Browse the repository at this point in the history
  • Loading branch information
dselivanov committed Dec 14, 2022
1 parent 6e140cb commit 82dd407
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/R-CMD-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,17 @@ name: R-CMD-check

jobs:
R-CMD-check:
runs-on: ${{ matrix.config.os }}
runs-on: ubuntu-latest

name: ${{ matrix.config.os }} (${{ matrix.config.r }})
name: (${{ matrix.config.r }})

strategy:
fail-fast: false
matrix:
config:
- {os: macos-latest, r: 'release'}
- {os: windows-latest, r: 'release'}
- {os: ubuntu-latest, r: 'devel', http-user-agent: 'release'}
- {r: 'devel'}
# minimal required R version
- {r: '3.6.0'}
env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
R_KEEP_PKG_SOURCE: yes
Expand All @@ -33,7 +33,6 @@ jobs:
- uses: r-lib/actions/setup-r@v2
with:
r-version: ${{ matrix.config.r }}
http-user-agent: ${{ matrix.config.http-user-agent }}
use-public-rspm: true

- uses: r-lib/actions/setup-r-dependencies@v2
Expand Down

0 comments on commit 82dd407

Please sign in to comment.