Skip to content

Commit

Permalink
Fix versions used in workflow (#62)
Browse files Browse the repository at this point in the history
  • Loading branch information
flying-sheep committed Dec 28, 2023
1 parent dc47b82 commit 912f117
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/check-bioc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,9 @@ jobs:
fail-fast: false
matrix:
config:
- { os: ubuntu-latest, r: 'release', bioc: '3.14', cont: "bioconductor/bioconductor_docker:RELEASE_3_14", rspm: "https://packagemanager.rstudio.com/cran/__linux__/focal/latest" }
- { os: macOS-latest, r: 'release', bioc: '3.14' }
- { os: windows-latest, r: 'release', bioc: '3.14' }
- { os: ubuntu-latest, r: '4.2', bioc: '3.15', bioc_release: RELEASE_3_15, cont: "bioconductor/bioconductor_docker:RELEASE_3_15", rspm: "https://packagemanager.rstudio.com/cran/__linux__/focal/latest" }
- { os: macOS-latest, r: '4.2', bioc: '3.15', bioc_release: RELEASE_3_15 }
- { os: windows-latest, r: '4.2', bioc: '3.15', bioc_release: RELEASE_3_15 }
## Check https://github.com/r-lib/actions/tree/master/examples
## for examples using the http-user-agent
env:
Expand Down Expand Up @@ -86,15 +86,15 @@ jobs:
## R is already included in the Bioconductor docker images
- name: Setup R from r-lib
if: runner.os != 'Linux'
uses: r-lib/actions/setup-r@master
uses: r-lib/actions/setup-r@v2
with:
r-version: ${{ matrix.config.r }}
http-user-agent: ${{ matrix.config.http-user-agent }}

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

- name: Query dependencies
run: |
Expand All @@ -107,16 +107,16 @@ jobs:
uses: actions/cache@v2
with:
path: ${{ env.R_LIBS_USER }}
key: ${{ env.cache-version }}-${{ runner.os }}-biocversion-RELEASE_3_14-r-4.1-${{ hashFiles('.github/depends.Rds') }}
restore-keys: ${{ env.cache-version }}-${{ runner.os }}-biocversion-RELEASE_3_14-r-4.1-
key: ${{ env.cache-version }}-${{ runner.os }}-biocversion-${{ matrix.config.bioc_release }}-r-${{ matrix.config.r }}-${{ hashFiles('.github/depends.Rds') }}
restore-keys: ${{ env.cache-version }}-${{ runner.os }}-biocversion-${{ matrix.config.bioc_release }}-r-${{ matrix.config.r }}-

- name: Cache R packages on Linux
if: "!contains(github.event.head_commit.message, '/nocache') && runner.os == 'Linux' "
uses: actions/cache@v2
with:
path: /home/runner/work/_temp/Library
key: ${{ env.cache-version }}-${{ runner.os }}-biocversion-RELEASE_3_14-r-4.1-${{ hashFiles('.github/depends.Rds') }}
restore-keys: ${{ env.cache-version }}-${{ runner.os }}-biocversion-RELEASE_3_14-r-4.1-
key: ${{ env.cache-version }}-${{ runner.os }}-biocversion-${{ matrix.config.bioc_release }}-r-${{ matrix.config.r }}-${{ hashFiles('.github/depends.Rds') }}
restore-keys: ${{ env.cache-version }}-${{ runner.os }}-biocversion-${{ matrix.config.bioc_release }}-r-${{ matrix.config.r }}-

- name: Install Linux system dependencies
if: runner.os == 'Linux'
Expand Down Expand Up @@ -293,7 +293,7 @@ jobs:
if: failure()
uses: actions/upload-artifact@master
with:
name: ${{ runner.os }}-biocversion-RELEASE_3_14-r-4.1-results
name: ${{ runner.os }}-biocversion-${{ matrix.config.bioc_release }}-r-${{ matrix.config.r }}-results
path: check

- uses: docker/build-push-action@v1
Expand Down

0 comments on commit 912f117

Please sign in to comment.