Skip to content

Commit f9007bd

Browse files
authored
Merge pull request #95 from Appsilon/update-ci
Update CI
2 parents a6244d2 + 1025f5f commit f9007bd

File tree

1 file changed

+9
-11
lines changed

1 file changed

+9
-11
lines changed

.github/workflows/ci.yml

Lines changed: 9 additions & 11 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,24 +25,21 @@ 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()
40-
uses: cypress-io/github-action@v4
38+
uses: cypress-io/github-action@v6
4139
with:
4240
working-directory: js
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)