Skip to content

GHA use ubuntu-latest #10

GHA use ubuntu-latest

GHA use ubuntu-latest #10

Workflow file for this run

on:
push:
branches:
- master
- development
pull_request:
branches:
- master
- development
name: R-CMD-check
jobs:
R-CMD-check:
if: "!contains(github.event.commits[0].message, '[skip-ci]')"
runs-on: ${{ matrix.config.os }}
name: ${{ matrix.config.os }} (${{ matrix.config.r }})
strategy:
fail-fast: false
matrix:
config:
- {os: macOS-latest, nosuggests: false, r: 'release'}
- {os: windows-latest, nosuggests: false, r: 'devel'}
- {os: windows-latest, nosuggests: false, r: 'release'}
- {os: ubuntu-latest, nosuggests: false, r: 'devel'}
- {os: ubuntu-latest, nosuggests: false, r: 'release'}
- {os: ubuntu-latest, nosuggests: true, r: 'release'}
env:
_R_CHECK_DEPENDS_ONLY_: ${{ matrix.config.nosuggests }}
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
R_REMOTES_NO_ERRORS_FROM_WARNINGS: true
steps:
- uses: actions/checkout@v4
- uses: r-lib/actions/setup-pandoc@v2
- uses: r-lib/actions/setup-r@v2
with:
r-version: ${{ matrix.config.r }}
use-public-rspm: true
- uses: r-lib/actions/setup-r-dependencies@v2
with:
extra-packages: |
any::rcmdcheck
any::XML
- uses: r-lib/actions/check-r-package@v2
with:
upload-snapshots: true