Merge pull request #581 from pfuehrlich-pik/master #1571
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: | |
push: | |
branches: | |
- main | |
- master | |
- develop | |
pull_request: | |
branches: | |
- main | |
- master | |
- develop | |
name: check | |
jobs: | |
check: | |
runs-on: ubuntu-22.04 | |
env: | |
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }} | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Remove .Rprofile | |
run: rm .Rprofile | |
- uses: r-lib/actions/setup-r@v2 | |
with: | |
extra-repositories: https://cloud.r-project.org https://rse.pik-potsdam.de/r/packages/ | |
- name: pre-commit Hook | |
run: source(".githooks/pre-commit") | |
shell: Rscript {0} |