revert heliconia_sample.csv #7
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
# Run when changes to the data folder are pushed to the main branch or made | |
# via a pull request OR on workflow dispatch | |
on: | |
push: | |
branches: main | |
paths: 'data/**' | |
pull_request: | |
branches: main | |
paths: 'data/**' | |
workflow_dispatch: | |
name: validate.yaml | |
jobs: | |
validate: | |
runs-on: ubuntu-latest | |
env: | |
RENV_CONFIG_PAK_ENABLED: TRUE | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup R | |
uses: r-lib/actions/setup-r@v2 | |
with: | |
r-version: "renv" #use the same version of R recorded in renv.lock | |
- name: Install R packages | |
uses: r-lib/actions/setup-renv@v2 | |
- name: Run validate.R | |
run: | | |
Rscript R/validate.R |