check_versions_match #6
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
# Check if the versions match between the different files | |
on: | |
push: | |
pull_request: | |
schedule: | |
- cron: "0 0 16 * *" | |
name: check_versions_match | |
jobs: | |
check_versions_match: | |
runs-on: ubuntu-latest | |
env: | |
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }} | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: r-lib/actions/setup-r@v2 | |
- name: Install dependencies | |
run: | | |
install.packages(c("stringr", "readr", "testthat")) | |
shell: Rscript {0} | |
- name: Check that versions match | |
run: Rscript scripts/check_versions_match.R | |