Skip to content

fix name of check action #4

fix name of check action

fix name of check action #4

Workflow file for this run

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:
GH_TOKEN: ${{ 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:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Rate after
if: always()
run: |
curl -H "Accept: application/vnd.github.v3+json" https://api.github.com/rate_limit
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}