Skip to content

Commit

Permalink
ci: ensure install R on macOS runner (#832)
Browse files Browse the repository at this point in the history
  • Loading branch information
eitsupi authored Feb 23, 2024
1 parent f3a71df commit 750f324
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/actions/setup/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,14 @@ runs:
version: 3.x
repo-token: ${{ inputs.token }}

- name: Install R
# Workaround for https://github.com/actions/runner-images/issues/9394
if: runner.os == 'macOS'
uses: r-lib/actions/setup-r@v2
with:
use-public-rspm: true
Ncpus: 2

- name: Set up Rust nightly toolchain
if: inputs.rust-nightly == 'true' || env.LIBR_POLARS_FEATURES == 'full_features'
shell: bash
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ on:
branches:
- main
paths:
- .github/actions/setup/action.yaml
- .github/workflows/check.yaml
- .Rbuildignore
- R/**
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ on:
branches:
- main
paths:
- .github/actions/setup/action.yaml
- .github/workflows/docs.yaml
- altdoc/**
- man/**
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/release-lib.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ on:
branches:
- main
paths:
- .github/actions/setup/action.yaml
- .github/workflows/release-lib.yaml
- src/rust/**
- src/Makevars*
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ on:
branches:
- main
paths:
- .github/actions/setup/action.yaml
- .github/workflows/release.yaml
- src/Makevars*
workflow_dispatch:
Expand Down

0 comments on commit 750f324

Please sign in to comment.