Skip to content

Add fail-fast to devtools build #4

Add fail-fast to devtools build

Add fail-fast to devtools build #4

# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.
#
# See https://github.com/r-lib/actions/tree/master/examples#readme for
# additional example workflows available for the R community.
name: R
on:
push:
branches: [ "main_ghbuild" ]
pull_request:
branches: [ "main" ]
permissions:
contents: read
jobs:
build:
runs-on: ${{ matrix.config.os }}
name: ${{ matrix.config.os }} (${{ matrix.config.r }})
strategy:
fail-fast: false
matrix:
config:
- {r: '4.2.3', os: 'ubuntu-latest'}
- {r: '4.2.3', os: 'macos-latest'}
- {r: '4.2.3', os: 'windows-latest'}
steps:
- uses: actions/checkout@v3
- name: Set up R ${{ matrix.config.r }}
uses: r-lib/actions/setup-r@f57f1301a053485946083d7a45022b278929a78a
with:
r-version: ${{ matrix.config.r }}
- name: Install dependencies
run: |
install.packages(c("remotes", "devtools"))
remotes::install_deps(dependencies = TRUE)
shell: Rscript {0}
- name: Check
run: devtools(binary=TRUE)
shell: Rscript {0}