Skip to content

Commit c72804f

Browse files
committed
ci: Update and clean up actions
1 parent a6244d2 commit c72804f

File tree

1 file changed

+8
-10
lines changed

1 file changed

+8
-10
lines changed

.github/workflows/ci.yml

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,13 @@ jobs:
77
timeout-minutes: 30
88
steps:
99
- name: Checkout repository
10-
uses: actions/checkout@v3
10+
uses: actions/checkout@v4
1111

1212
- name: Install R
1313
uses: r-lib/actions/setup-r@v2
1414
with:
15-
r-version: '4.2.0'
15+
r-version: '4.3.2'
16+
use-public-rspm: true
1617

1718
- name: Install R package dependencies
1819
uses: r-lib/actions/setup-r-dependencies@v2
@@ -24,16 +25,13 @@ jobs:
2425
uses: r-lib/actions/check-r-package@v2
2526
with:
2627
error-on: '"note"'
27-
env:
28-
_R_CHECK_LICENSE_: 'FALSE' # We are using a proprietary license.
2928

3029
- name: Lint
3130
if: always()
3231
shell: Rscript {0}
33-
run: |
34-
lints <- lintr::lint_package()
35-
for (lint in lints) print(lint)
36-
quit(status = length(lints) > 0)
32+
run: lintr::lint_package()
33+
env:
34+
LINTR_ERROR_ON_LINT: true
3735

3836
- name: E2E test
3937
if: always()
@@ -43,5 +41,5 @@ jobs:
4341
start: yarn run-showcase
4442

4543
- name: Test coverage
46-
run: |
47-
Rscript -e 'covr::codecov()'
44+
shell: Rscript {0}
45+
run: covr::codecov()

0 commit comments

Comments
 (0)