add repo checkout and re-try pak for dependencies #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
on: | |
schedule: | |
- cron: "0 0 1 * *" | |
push: | |
branches: main | |
name: URL Checker | |
jobs: | |
build-deploy: | |
runs-on: ubuntu-latest | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up R | |
uses: r-lib/actions/setup-r@v2 | |
- name: Set up R dependencies | |
uses: r-lib/actions/setup-r-dependencies@v2 | |
#- name: Set up R dependencies with renv | |
# uses: r-lib/actions/setup-renv@v2 | |
- name: Run R script | |
run: Rscript scripts/url_check.R |