Skip to content

Merge branch 'master' of https://github.com/tbates/umx #6

Merge branch 'master' of https://github.com/tbates/umx

Merge branch 'master' of https://github.com/tbates/umx #6

Workflow file for this run

name: Build umx for R
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
permissions:
contents: read
jobs:
build:
runs-on: macos-latest
strategy:
matrix:
r-version: ['4.2', '4.4.1']
steps:

Check failure on line 18 in .github/workflows/r.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/r.yml

Invalid workflow file

You have an error in your yaml syntax on line 18
- uses: actions/cache@v3
- uses: actions/checkout@v4
with:
path: ~/.R/library
key: ${{ runner.os }}-r-${{ matrix.r-version }}-${{ hashFiles('**/DESCRIPTION') }}
restore-keys: |
${{ runner.os }}-r-${{ matrix.r-version }}-
${{ runner.os }}-r-
- name: Set up R ${{ matrix.r-version }}
uses: r-lib/actions/setup-r@v2
with:
r-version: ${{ matrix.r-version }}
- name: Install dependencies
run: |
install.packages(c("remotes", "rcmdcheck", "covr"))
remotes::install_deps(dependencies = TRUE)
shell: Rscript {0}
- name: Check package
run: |
rcmdcheck::rcmdcheck(args = "--no-manual", error_on = "error")
devtools::check()
shell: Rscript {0}
- name: Code Coverage
run: covr::codecov()
shell: Rscript {0}