Skip to content

Commit

Permalink
use checkout@v4 (#292)
Browse files Browse the repository at this point in the history
Co-authored-by: Matt Secrest <[email protected]>
  • Loading branch information
gravesti and mattsecrest authored Apr 17, 2024
1 parent 4048cc2 commit 639aa72
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/R-CMD-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,15 @@ jobs:
fail-fast: false
matrix:
config:
- {os: macOS-latest, r: 'release'}
- {os: windows-latest, r: 'release'}
- {os: ubuntu-latest, r: 'release'}
- { os: macOS-latest, r: "release" }
- { os: windows-latest, r: "release" }
- { os: ubuntu-latest, r: "release" }
env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
R_KEEP_PKG_SOURCE: yes
_R_CHECK_FORCE_SUGGESTS_: "0" # CRAN sets to false
_R_CHECK_FORCE_SUGGESTS_: "0" # CRAN sets to false
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

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

Expand Down Expand Up @@ -55,11 +55,11 @@ jobs:
- name: R CMD check after cmdstanr installed but before cmdstan
uses: r-lib/actions/check-r-package@v2

- name: Install cmdstan
run: |
Rscript -e "cmdstanr::check_cmdstan_toolchain(fix = TRUE)"
Rscript -e "cmdstanr::install_cmdstan()"
- name: R CMD check after cmdstanr and cmdstan are installed
uses: r-lib/actions/check-r-package@v2
uses: r-lib/actions/check-r-package@v2
6 changes: 3 additions & 3 deletions .github/workflows/pkgdown.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

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

Expand All @@ -33,7 +33,7 @@ jobs:
extra-packages: any::pkgdown, local::., github::stan-dev/cmdstanr
needs: website

- name: Install and unpack cmdstan
- name: Install and unpack cmdstan
run: |
Rscript -e "cmdstanr::check_cmdstan_toolchain(fix = TRUE)"
Rscript -e "cmdstanr::install_cmdstan()"
Expand All @@ -48,4 +48,4 @@ jobs:
with:
clean: false
branch: gh-pages
folder: docs
folder: docs
2 changes: 1 addition & 1 deletion .github/workflows/test-coverage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- uses: r-lib/actions/setup-r@v2
with:
Expand Down

0 comments on commit 639aa72

Please sign in to comment.