Skip to content

Update calculate_risk.yaml #12

Update calculate_risk.yaml

Update calculate_risk.yaml #12

on:
issues:
types: [opened, edited]
name: Calculate risk
jobs:
render:
name: Environment Printer
runs-on: ubuntu-latest
steps:
- uses: managedkaos/[email protected]
name: R stuff

Check failure on line 13 in .github/workflows/calculate_risk.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/calculate_risk.yaml

Invalid workflow file

You have an error in your yaml syntax on line 13
runs-on: macOS-latest
steps:
- uses: r-lib/actions/setup-r@v2
- name: Install dependencies
run: Rscript -e 'install.packages(c("jsonlite", "cranlogs", "crayon", "dplyr", "glue", "lubridate", "sessioninfo", "testthat", "rmarkdown", "knitr", "kableExtra", "magrittr", "devtools"))'
- name: Install validation
run: Rscript -e 'install.packages("validation", repos = "https://ctu-bern.r-universe.dev", dependencies = TRUE)'
- name: Run script to calculate risk and post comment
run: Rscript -e 'jsonlite::read_json("github/workflow/event.json")'