Skip to content

Commit

Permalink
ci: Update and clean up actions
Browse files Browse the repository at this point in the history
  • Loading branch information
kamilzyla committed Dec 28, 2023
1 parent a6244d2 commit c72804f
Showing 1 changed file with 8 additions and 10 deletions.
18 changes: 8 additions & 10 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,13 @@ jobs:
timeout-minutes: 30
steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Install R
uses: r-lib/actions/setup-r@v2
with:
r-version: '4.2.0'
r-version: '4.3.2'
use-public-rspm: true

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

- name: Lint
if: always()
shell: Rscript {0}
run: |
lints <- lintr::lint_package()
for (lint in lints) print(lint)
quit(status = length(lints) > 0)
run: lintr::lint_package()
env:
LINTR_ERROR_ON_LINT: true

- name: E2E test
if: always()
Expand All @@ -43,5 +41,5 @@ jobs:
start: yarn run-showcase

- name: Test coverage
run: |
Rscript -e 'covr::codecov()'
shell: Rscript {0}
run: covr::codecov()

0 comments on commit c72804f

Please sign in to comment.