Skip to content

Commit

Permalink
Merge pull request #242 from rOpenGov/fixaction
Browse files Browse the repository at this point in the history
Fix RCMD action
  • Loading branch information
pitkant authored Aug 18, 2022
2 parents 0818b1e + 2464947 commit 97e3181
Showing 1 changed file with 6 additions and 20 deletions.
26 changes: 6 additions & 20 deletions .github/workflows/R-CMD-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,30 +36,16 @@ jobs:

steps:
- uses: actions/checkout@v2

- uses: r-lib/actions/setup-pandoc@master

- uses: r-lib/actions/setup-r@master
- uses: r-lib/actions/setup-pandoc@v2
- uses: r-lib/actions/setup-r@v2
with:
r-version: ${{ matrix.config.r }}
http-user-agent: ${{ matrix.config.http-user-agent }}
use-public-rspm: true

- uses: r-lib/actions/setup-r-dependencies@master
- uses: r-lib/actions/setup-r-dependencies@v2
with:
cache-version: 2
extra-packages: rcmdcheck

- uses: r-lib/actions/check-r-package@master
extra-packages: any::rcmdcheck
needs: check

- name: Show testthat output
if: always()
run: find check -name 'testthat.Rout*' -exec cat '{}' \; || true
shell: bash

- name: Upload check results
if: failure()
uses: actions/upload-artifact@main
with:
name: ${{ runner.os }}-r${{ matrix.config.r }}-results
path: check
- uses: r-lib/actions/check-r-package@v2

0 comments on commit 97e3181

Please sign in to comment.