Update gh actions for r-lib/actions v2
Change-Id: I840a2e1d4862eceebe01ea61edd9da5564b11f7e
diff --git a/.github/workflows/test-coverage.yaml b/.github/workflows/test-coverage.yaml
index 3c0da1c..8271db2 100644
--- a/.github/workflows/test-coverage.yaml
+++ b/.github/workflows/test-coverage.yaml
@@ -17,14 +17,15 @@
steps:
- uses: actions/checkout@v2
- - uses: r-lib/actions/setup-r@v1
+ - uses: r-lib/actions/setup-r@v2
with:
use-public-rspm: true
- - uses: r-lib/actions/setup-r-dependencies@v1
+ - uses: r-lib/actions/setup-r-dependencies@v2
with:
- extra-packages: covr
+ extra-packages: any::covr
+ needs: coverage
- name: Test coverage
- run: covr::codecov()
+ run: covr::codecov(quiet = FALSE)
shell: Rscript {0}