Bump the actions group with 2 updates #67
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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] | |
name: R-CMD-check | |
jobs: | |
R-CMD-check: | |
runs-on: ${{ matrix.os }} | |
name: ${{ matrix.os }} (${{ matrix.r }}) | |
strategy: | |
fail-fast: false | |
matrix: | |
include: | |
# default everything | |
- {os: 'ubuntu-latest', python: '3.12', r: 'release'} | |
- {os: 'windows-latest', python: '3.12', r: 'release'} | |
- {os: 'macOS-latest', python: '3.12', r: 'release'} | |
# older R versions | |
- {os: 'ubuntu-latest', python: '3.9', r: 'oldrel-1'} | |
- {os: 'ubuntu-latest', python: '3.9', r: 'oldrel-2'} | |
- {os: 'ubuntu-latest', python: '3.9', r: 'oldrel-3'} | |
env: | |
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }} | |
R_KEEP_PKG_SOURCE: yes | |
# set matplotlib backend because Windows CI errors with: | |
# "This probably means that Tcl wasn't installed properly." | |
MPLBACKEND: Agg # https://github.com/orgs/community/discussions/26434 | |
steps: | |
- name: Checkout ACRO | |
uses: actions/checkout@v4 | |
- name: Setup Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python }} | |
- name: Setup pandoc | |
uses: r-lib/actions/setup-pandoc@v2 | |
- name: Setup R | |
uses: r-lib/actions/setup-r@v2 | |
with: | |
r-version: ${{ matrix.r }} | |
- name: Install R dependencies | |
uses: r-lib/actions/setup-r-dependencies@v2 | |
with: | |
extra-packages: any::rcmdcheck | |
needs: check | |
- name: Check R Package | |
uses: r-lib/actions/check-r-package@v2 | |
with: | |
upload-snapshots: true |