Skip to content

Commit

Permalink
Update GHA checkout node & R version
Browse files Browse the repository at this point in the history
- updated 'checkout' action to v4, as a node used by the previous
  version (v3) is now deprecated
- specified R version to use on MacOS and Windows, to match SomaLogic's development
  and maintenance environment
  • Loading branch information
amanda-hi committed May 2, 2024
1 parent 4ac5a13 commit b48e355
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/check-standard.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@ jobs:
fail-fast: false
matrix:
config:
- {os: macos-latest, r: 'release'}
- {os: windows-latest, r: 'release'}
#- {os: ubuntu-latest, r: 'release'} # was taking too long to build
- {os: macos-12, r: '4.3.2'}
- {os: windows-latest, r: '4.3.2'}
# - {os: ubuntu-latest, r: 'release'} # taking too long to build?

env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -47,7 +47,7 @@ jobs:
TZ: 'America/Denver'

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- uses: r-lib/actions/setup-pandoc@v2

Expand Down
8 changes: 5 additions & 3 deletions .github/workflows/test-coverage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,16 +23,18 @@ name: test-coverage

jobs:
test-coverage:
runs-on: macOS-12
runs-on: macos-12
# runs-on: ubuntu-latest

env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

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

- uses: r-lib/actions/setup-r-dependencies@v2
Expand All @@ -51,7 +53,7 @@ jobs:

#- name: Upload results to Codecov 🚀
# uses: codecov/codecov-action@v3.1.2

- name: Show 'testthat' output
if: always()
run: |
Expand Down

0 comments on commit b48e355

Please sign in to comment.