Skip to content

Commit 27335c1

Browse files
authored
Merge pull request #42 from stemangiola/update-action-to-bioc3.15
Update github action to Bioc 3.15
2 parents b4ecbb3 + d2d6670 commit 27335c1

File tree

1 file changed

+11
-8
lines changed

1 file changed

+11
-8
lines changed

.github/workflows/check-bioc.yml

Lines changed: 11 additions & 8 deletions
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.1', bioc: '3.14', cont: "bioconductor/bioconductor_docker:RELEASE_3_14", rspm: "https://packagemanager.rstudio.com/cran/__linux__/focal/latest" }
55-
- { os: macOS-latest, r: '4.1', bioc: '3.14'}
56-
- { os: windows-latest, r: '4.1', bioc: '3.14'}
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'}
5757
env:
5858
R_REMOTES_NO_ERRORS_FROM_WARNINGS: true
5959
RSPM: ${{ matrix.config.rspm }}
@@ -101,16 +101,16 @@ jobs:
101101
uses: actions/cache@v2
102102
with:
103103
path: ${{ env.R_LIBS_USER }}
104-
key: ${{ env.cache-version }}-${{ runner.os }}-biocversion-RELEASE_3_14-r-4.1-${{ hashFiles('.github/depends.Rds') }}
105-
restore-keys: ${{ env.cache-version }}-${{ runner.os }}-biocversion-RELEASE_3_14-r-4.1-
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-
106106

107107
- name: Cache R packages on Linux
108108
if: "!contains(github.event.head_commit.message, '/nocache') && runner.os == 'Linux' "
109109
uses: actions/cache@v2
110110
with:
111111
path: /home/runner/work/_temp/Library
112-
key: ${{ env.cache-version }}-${{ runner.os }}-biocversion-RELEASE_3_14-r-4.1-${{ hashFiles('.github/depends.Rds') }}
113-
restore-keys: ${{ env.cache-version }}-${{ runner.os }}-biocversion-RELEASE_3_14-r-4.1-
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-
114114

115115
- name: Install Linux system dependencies
116116
if: runner.os == 'Linux'
@@ -256,6 +256,9 @@ jobs:
256256
- name: Deploy package
257257
if: github.ref == 'refs/heads/master' && env.run_pkgdown == 'true' && runner.os == 'Linux'
258258
run: |
259+
## Temporary workaround for https://github.com/actions/checkout/issues/766
260+
git config --global --add safe.directory "$GITHUB_WORKSPACE"
261+
259262
git config --local user.email "actions@github.com"
260263
git config --local user.name "GitHub Actions"
261264
Rscript -e "pkgdown::deploy_to_branch(new_process = FALSE)"
@@ -269,6 +272,6 @@ jobs:
269272
if: failure()
270273
uses: actions/upload-artifact@master
271274
with:
272-
name: ${{ runner.os }}-biocversion-RELEASE_3_14-r-4.1-results
275+
name: ${{ runner.os }}-biocversion-RELEASE_3_15-r-4.2-results
273276
path: check
274277

0 commit comments

Comments
 (0)