Skip to content

Update check-workflow.yaml #3

Update check-workflow.yaml

Update check-workflow.yaml #3

Workflow file for this run

on:
pull_request:
branches:
- main
- portage
name: Check Portage data workflow
jobs:
render:
name: Check data workflow
runs-on: ${{ matrix.config.os }}
name: ${{ matrix.config.os }} (${{ matrix.config.r }})

Check failure on line 14 in .github/workflows/check-workflow.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/check-workflow.yaml

Invalid workflow file

You have an error in your yaml syntax on line 14
strategy:
fail-fast: false
matrix:
config:
- {os: ubuntu-latest, r: release}
env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
steps:
- uses: actions/checkout@v2
- uses: r-lib/actions/setup-r@v2
- uses: r-lib/actions/setup-pandoc@v2
- name: Install any needed packages
run: |
install.packages(c("dplyr", "tidyr", "remotes" "readr", "lubridate"))
remotes::install_github('COMPASS-DOE/compasstools')
shell: Rscript {0}
- name: Check workflow
run: |
cd portage/
Rscript --verbose ./driver.R