From 3ded0e4bb4a31a47077e42c9b550299e2e95a344 Mon Sep 17 00:00:00 2001 From: Fran Barton Date: Tue, 12 Mar 2024 10:49:29 +0000 Subject: [PATCH 1/5] Change specific version (4.4.1) of github-pages-deploy-action to generic @v4 @v4 should pull in the latest version of the action --- .github/workflows/pkgdown.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pkgdown.yaml b/.github/workflows/pkgdown.yaml index ed7650c..48853a5 100644 --- a/.github/workflows/pkgdown.yaml +++ b/.github/workflows/pkgdown.yaml @@ -41,7 +41,7 @@ jobs: - name: Deploy to GitHub pages 🚀 if: github.event_name != 'pull_request' - uses: JamesIves/github-pages-deploy-action@v4.4.1 + uses: JamesIves/github-pages-deploy-action@v4 with: clean: false branch: gh-pages From e3561ae3f92dc56664a2630f52220f9c15384a6f Mon Sep 17 00:00:00 2001 From: Fran Barton Date: Tue, 12 Mar 2024 12:10:46 +0000 Subject: [PATCH 2/5] Refresh GitHub Action for CMD check --- .github/workflows/{check-release.yaml => R-CMD-check.yaml} | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) rename .github/workflows/{check-release.yaml => R-CMD-check.yaml} (81%) diff --git a/.github/workflows/check-release.yaml b/.github/workflows/R-CMD-check.yaml similarity index 81% rename from .github/workflows/check-release.yaml rename to .github/workflows/R-CMD-check.yaml index f4b17a4..1b5e463 100644 --- a/.github/workflows/check-release.yaml +++ b/.github/workflows/R-CMD-check.yaml @@ -15,7 +15,7 @@ jobs: GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }} R_KEEP_PKG_SOURCE: yes steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: r-lib/actions/setup-r@v2 with: @@ -27,3 +27,6 @@ jobs: needs: check - uses: r-lib/actions/check-r-package@v2 + with: + upload-snapshots: true + build_args: 'c("--no-manual","--compact-vignettes=gs+qpdf")' From 323ac08ef1227985700a7086fc51737c3ad180ce Mon Sep 17 00:00:00 2001 From: Fran Barton Date: Tue, 12 Mar 2024 12:11:01 +0000 Subject: [PATCH 3/5] Add CMD check action badge to README --- README.Rmd | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.Rmd b/README.Rmd index f43fdac..80c80c5 100644 --- a/README.Rmd +++ b/README.Rmd @@ -2,6 +2,13 @@ output: github_document --- + + +[![R-CMD-check](https://github.com/ThomUK/SPCreporter/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/ThomUK/SPCreporter/actions/workflows/R-CMD-check.yaml) + + + + ```{r setup} From f047ebfc903567d35da6a00ca0cf3610dc4c1ed9 Mon Sep 17 00:00:00 2001 From: Fran Barton Date: Tue, 12 Mar 2024 12:14:34 +0000 Subject: [PATCH 4/5] Move Actions YAML back to specific version (v4.5.0) --- .github/workflows/pkgdown.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pkgdown.yaml b/.github/workflows/pkgdown.yaml index 48853a5..cb31361 100644 --- a/.github/workflows/pkgdown.yaml +++ b/.github/workflows/pkgdown.yaml @@ -41,7 +41,7 @@ jobs: - name: Deploy to GitHub pages 🚀 if: github.event_name != 'pull_request' - uses: JamesIves/github-pages-deploy-action@v4 + uses: JamesIves/github-pages-deploy-action@v4.5.0 with: clean: false branch: gh-pages From d5e0ffc00eabfa2e5278b0d883d956a8fe42ff68 Mon Sep 17 00:00:00 2001 From: Fran Barton Date: Tue, 12 Mar 2024 12:24:22 +0000 Subject: [PATCH 5/5] Move pkgdown Action to checkout@v4 --- .github/workflows/pkgdown.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pkgdown.yaml b/.github/workflows/pkgdown.yaml index cb31361..a7276e8 100644 --- a/.github/workflows/pkgdown.yaml +++ b/.github/workflows/pkgdown.yaml @@ -22,7 +22,7 @@ jobs: permissions: contents: write steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: r-lib/actions/setup-pandoc@v2