Skip to content

Renovate: actions/upload-artifact to 6546280 (#24) #99

Renovate: actions/upload-artifact to 6546280 (#24)

Renovate: actions/upload-artifact to 6546280 (#24) #99

Workflow file for this run

# Workflow derived from https://github.com/r-lib/actions/tree/v2/examples
# Need help debugging build failures? Start at https://github.com/r-lib/actions#where-to-find-help
on:
push:
branches: [main, master]
pull_request:
branches: [main, master]
workflow_dispatch:
name: R-CMD-check
jobs:
R-CMD-check:
runs-on: ${{ matrix.config.os }}
name: ${{ matrix.config.os }} (${{ 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" }
- { os: ubuntu-latest, r: "release" }
- { os: ubuntu-latest, r: "oldrel-1" }
env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
R_KEEP_PKG_SOURCE: yes
steps:
- name: Checkout repo
uses: actions/checkout@1d96c772d19495a3b5c517cd2bc0cb401ea0529f # v4
- name: Set up pandoc
uses: r-lib/actions/setup-pandoc@b7e68d63e51bdf225997973e2add36d551f60f02 # v2
- name: Set up R
uses: r-lib/actions/setup-r@b7e68d63e51bdf225997973e2add36d551f60f02 # v2
with:
r-version: ${{ matrix.config.r }}
http-user-agent: ${{ matrix.config.http-user-agent }}
use-public-rspm: true
# Install miniconda manually, to prevent installation errors on GHA runners
- name: Setup Miniconda
uses: conda-incubator/setup-miniconda@v3.0.3
- name: Install R dependencies
uses: r-lib/actions/setup-r-dependencies@b7e68d63e51bdf225997973e2add36d551f60f02 # v2
with:
extra-packages: any::rcmdcheck
needs: check
- name: Run R CMD check
uses: r-lib/actions/check-r-package@b7e68d63e51bdf225997973e2add36d551f60f02 # v2
with:
upload-snapshots: true