Skip to content

Commit

Permalink
use kalibera/rchk:latest
Browse files Browse the repository at this point in the history
  • Loading branch information
t-kalinowski committed Apr 10, 2024
1 parent c26cdc3 commit ef09136
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/rchk.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,14 @@ name: rchk
jobs:
rchk:
runs-on: ubuntu-latest
container:
image: rhub/ubuntu-rchk
options: --user=root
steps:
- uses: actions/checkout@v4
- uses: r-lib/actions/run-rchk@v2
- run: R CMD build .
- run: docker pull kalibera/rchk:latest
- run: |
mkdir -p rchk/packages
mv reticulate_*.tar.gz rchk/packages/
cd rchk/packages
pkgtar=$(ls reticulate_*.tar.gz)
docker run -v `pwd`/packages:/rchk/packages kalibera/rchk:latest /rchk/packages/$pkgtar

0 comments on commit ef09136

Please sign in to comment.