Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 4 additions & 11 deletions .github/workflows/R-CMD-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,10 @@ jobs:
fail-fast: false
matrix:
config:
# testing R release with last shipped pandoc version in RStudio IDE and new pandoc
# testing R release with latest pandoc version and their dev version
- {os: windows-latest, pandoc: 'latest', r: 'release'}
- {os: macOS-latest, pandoc: 'latest', r: 'release'}
- {os: ubuntu-latest, pandoc: 'devel', r: 'release'}
- {os: ubuntu-latest, pandoc: 'nightly', r: 'release'}
# testing older pandoc versions
- {os: ubuntu-latest, pandoc: '3.1.11', r: 'release'}
- {os: ubuntu-latest, pandoc: '2.19.2', r: 'release'}
Expand Down Expand Up @@ -80,17 +80,10 @@ jobs:
extra-packages: any::rcmdcheck
needs: check

- name: Remove default installed Pandoc
if: runner.os == 'Linux'
run: sudo dpkg -r pandoc

- uses: r-lib/actions/setup-pandoc@v2
if: matrix.config.pandoc != 'devel'
- uses: r-lib/actions/setup-pandoc@fix/setup-pandoc-nightly-download
with:
pandoc-version: ${{ matrix.config.pandoc }}

- uses: cderv/actions/setup-pandoc-nightly@nightly-pandoc
if: matrix.config.pandoc == 'devel'
token: ${{ secrets.GITHUB_TOKEN }}

- name: Pandoc and Tinytex info
run: |
Expand Down