diff --git a/.github/workflows/R-CMD-check.yaml b/.github/workflows/R-CMD-check.yaml index 5f3e7d3..08f7a53 100644 --- a/.github/workflows/R-CMD-check.yaml +++ b/.github/workflows/R-CMD-check.yaml @@ -11,24 +11,24 @@ name: R-CMD-check jobs: R-CMD-check-base: runs-on: ubuntu-latest - env: + env: GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }} R_KEEP_PKG_SOURCE: yes + steps: + - uses: actions/checkout@v3 + - uses: r-lib/actions/setup-pandoc@v2 + - uses: r-lib/actions/setup-r@v2 + with: + r-version: release + use-public-rspm: true + - uses: r-lib/actions/setup-r-dependencies@v2 + with: + extra-packages: any::sessioninfo, any::rcmdcheck, any::pkgdepends + needs: check + - uses: r-lib/actions/check-r-package@v2 + with: + upload-snapshots: true - steps: - - uses: actions/checkout@v3 - - uses: r-lib/actions/setup-pandoc@v2 - - uses: r-lib/actions/setup-r@v2 - with: - r-version: release - use-public-rspm: true - - uses: r-lib/actions/setup-r-dependencies@v2 - with: - extra-packages: any::sessioninfo, any::rcmdcheck, any::pkgdepends - needs: check - - uses: r-lib/actions/check-r-package@v2 - with: - upload-snapshots: true R-CMD-check-grid: runs-on: ${{ matrix.config.os }} name: ${{ matrix.config.os }} (${{ matrix.config.r }})