Skip to content

Commit 855b14c

Browse files
committed
Add check results to release workflow artifacts
1 parent 6aa18c2 commit 855b14c

File tree

2 files changed

+14
-2
lines changed

2 files changed

+14
-2
lines changed

.github/workflow-resources/release-pr-body.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
### 📝 Pre-release checklist
44
- [ ] Review automated changes
5-
- [ ] Review reverse dependency checks (see [workflow artifacts]({{ .artifacts_url }}))
5+
- [ ] Review `R CMD Check` output and reverse dependency checks (see [workflow artifacts]({{ .artifacts_url }}))
66
- [ ] Review check and test results
77
- [ ] Verify `DESCRIPTION` and `NEWS.md` are accurate
88
- [ ] Update `cran-comments.md` if necessary

.github/workflows/release.yaml

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,19 @@ jobs:
4646
with:
4747
extra-packages: |
4848
any::devtools
49-
any::rhub
49+
50+
- name: Set R CMD check environment
51+
run: |
52+
Sys.setenv("_R_CHECK_CRAN_INCOMING_" = "true")
53+
shell: Rscript {0}
54+
55+
- name: Run R CMD check as CRAN
56+
uses: r-lib/actions/check-r-package@v2
57+
with:
58+
upload-results: true
59+
upload-snapshots: true
60+
build_args: 'c("--no-manual","--compact-vignettes=gs+qpdf")'
61+
artifact-name: "check-result"
5062

5163
- name: Update DESCRIPTION version
5264
env:

0 commit comments

Comments
 (0)