fix preview of 2025-007 - see #164 #34
This file contains hidden or 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
| name: Check register | |
| on: | |
| push: | |
| branches: | |
| - master | |
| jobs: | |
| check: | |
| runs-on: ubuntu-20.04 | |
| container: | |
| image: codecheckers/register:latest | |
| volumes: | |
| - "/home/runner/work/codecheckers/register:/register" | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - run: git config --system --add safe.directory /__w/register/register | |
| - name: Rate before | |
| run: | | |
| curl -H "Accept: application/vnd.github.v3+json" https://api.github.com/rate_limit | |
| env: | |
| PAT: ${{ secrets.GITHUB_TOKEN }} | |
| - name: Check | |
| run: | | |
| # R -e "sessionInfo(); cat('\n'); list.files(); cat('\n'); getwd()" | |
| R -e 'options("R.cache.rootPath" = "/tmp"); codecheck::register_check(); warnings()' | |
| env: | |
| PAT: ${{ secrets.GITHUB_TOKEN }} | |
| - name: Rate after | |
| if: always() | |
| run: | | |
| curl -H "Accept: application/vnd.github.v3+json" https://api.github.com/rate_limit | |
| env: | |
| PAT: ${{ secrets.GITHUB_TOKEN }} |