Skip to content

Commit 2c9db6a

Browse files
authored
Fix actions
1 parent 0f5aad7 commit 2c9db6a

File tree

1 file changed

+16
-15
lines changed

1 file changed

+16
-15
lines changed

.github/workflows/check-bioc.yml

+16-15
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,9 @@ jobs:
5151
fail-fast: false
5252
matrix:
5353
config:
54-
- { os: ubuntu-latest, r: '4.2', bioc: '3.15', cont: "bioconductor/bioconductor_docker:RELEASE_3_15", rspm: "https://packagemanager.rstudio.com/cran/__linux__/focal/latest" }
55-
- { os: macOS-latest, r: '4.2', bioc: '3.15'}
56-
- { os: windows-latest, r: '4.2', bioc: '3.15'}
54+
- { os: ubuntu-latest, r: '4.2', bioc: '3.16', cont: "bioconductor/bioconductor_docker:RELEASE_3_16", rspm: "https://packagemanager.rstudio.com/cran/__linux__/focal/latest" }
55+
- { os: macOS-latest, r: '4.2', bioc: '3.16'}
56+
- { os: windows-latest, r: '4.2', bioc: '3.16'}
5757
env:
5858
R_REMOTES_NO_ERRORS_FROM_WARNINGS: true
5959
RSPM: ${{ matrix.config.rspm }}
@@ -81,14 +81,14 @@ jobs:
8181
## R is already included in the Bioconductor docker images
8282
- name: Setup R from r-lib
8383
if: runner.os != 'Linux'
84-
uses: r-lib/actions/setup-r@master
84+
uses: r-lib/actions/setup-r@v2
8585
with:
8686
r-version: ${{ matrix.config.r }}
8787

8888
## pandoc is already included in the Bioconductor docker images
8989
- name: Setup pandoc from r-lib
9090
if: runner.os != 'Linux'
91-
uses: r-lib/actions/setup-pandoc@master
91+
uses: r-lib/actions/setup-pandoc@v2
9292

9393
- name: Query dependencies
9494
run: |
@@ -98,19 +98,19 @@ jobs:
9898

9999
- name: Cache R packages
100100
if: "!contains(github.event.head_commit.message, '/nocache') && runner.os != 'Linux'"
101-
uses: actions/cache@v2
101+
uses: actions/cache@v3
102102
with:
103103
path: ${{ env.R_LIBS_USER }}
104-
key: ${{ env.cache-version }}-${{ runner.os }}-biocversion-RELEASE_3_15-r-4.2-${{ hashFiles('.github/depends.Rds') }}
105-
restore-keys: ${{ env.cache-version }}-${{ runner.os }}-biocversion-RELEASE_3_15-r-4.2-
104+
key: ${{ env.cache-version }}-${{ runner.os }}-biocversion-RELEASE_3_16-r-4.2-${{ hashFiles('.github/depends.Rds') }}
105+
restore-keys: ${{ env.cache-version }}-${{ runner.os }}-biocversion-RELEASE_3_16-r-4.2-
106106

107107
- name: Cache R packages on Linux
108108
if: "!contains(github.event.head_commit.message, '/nocache') && runner.os == 'Linux' "
109-
uses: actions/cache@v2
109+
uses: actions/cache@v3
110110
with:
111111
path: /home/runner/work/_temp/Library
112-
key: ${{ env.cache-version }}-${{ runner.os }}-biocversion-RELEASE_3_15-r-4.2-${{ hashFiles('.github/depends.Rds') }}
113-
restore-keys: ${{ env.cache-version }}-${{ runner.os }}-biocversion-RELEASE_3_15-r-4.2-
112+
key: ${{ env.cache-version }}-${{ runner.os }}-biocversion-RELEASE_3_16-r-4.2-${{ hashFiles('.github/depends.Rds') }}
113+
restore-keys: ${{ env.cache-version }}-${{ runner.os }}-biocversion-RELEASE_3_16-r-4.2-
114114

115115
- name: Install Linux system dependencies
116116
if: runner.os == 'Linux'
@@ -239,7 +239,9 @@ jobs:
239239
dir('check', 'tar.gz$', full.names = TRUE),
240240
`quit-with-status` = TRUE,
241241
`no-check-R-ver` = TRUE,
242-
`no-check-bioc-help` = TRUE
242+
`no-check-bioc-help` = TRUE,
243+
`no-check-library-calls` = TRUE,
244+
`no-check-coding-practices` = TRUE
243245
)
244246
shell: Rscript {0}
245247

@@ -270,8 +272,7 @@ jobs:
270272

271273
- name: Upload check results
272274
if: failure()
273-
uses: actions/upload-artifact@master
275+
uses: actions/upload-artifact@v3
274276
with:
275-
name: ${{ runner.os }}-biocversion-RELEASE_3_15-r-4.2-results
277+
name: ${{ runner.os }}-biocversion-RELEASE_3_16-r-4.2-results
276278
path: check
277-

0 commit comments

Comments
 (0)