mirror of
https://github.com/saymrwulf/prophet.git
synced 2026-05-14 20:48:08 +00:00
Update build-and-test.yml
This commit is contained in:
parent
d8c5b80afb
commit
82180bbc8e
1 changed files with 6 additions and 6 deletions
12
.github/workflows/build-and-test.yml
vendored
12
.github/workflows/build-and-test.yml
vendored
|
|
@ -13,7 +13,7 @@ jobs:
|
|||
strategy:
|
||||
matrix:
|
||||
python-version: ["3.10"]
|
||||
os: ["macos-latest", "ubuntu-latest", "windows-latest", "macos-latest-xlarge"]
|
||||
os: ["macos-13", "ubuntu-latest", "windows-latest", "macos-latest-xlarge"]
|
||||
fail-fast: false
|
||||
|
||||
steps:
|
||||
|
|
@ -24,9 +24,9 @@ jobs:
|
|||
(Get-ItemProperty "HKLM:System\CurrentControlSet\Control\FileSystem").LongPathsEnabled
|
||||
$os_version = (Get-CimInstance Win32_OperatingSystem).version
|
||||
Echo "OS_VERSION=$os_version" >> $env:GITHUB_ENV
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/checkout@v4
|
||||
- name: Set up Python ${{ matrix.python-version }}
|
||||
uses: actions/setup-python@v4
|
||||
uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: ${{ matrix.python-version }}
|
||||
cache: pip
|
||||
|
|
@ -34,7 +34,7 @@ jobs:
|
|||
- name: "Restore RTools40"
|
||||
if: startsWith(runner.os, 'Windows')
|
||||
id: cache-rtools
|
||||
uses: actions/cache@v3
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
path: C:/rtools40
|
||||
key: ${{ runner.os }}-${{ env.OS_VERSION }}-rtools-v1
|
||||
|
|
@ -58,7 +58,7 @@ jobs:
|
|||
RSPM: ${{ matrix.config.rspm }}
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/checkout@v4
|
||||
- uses: r-lib/actions/setup-pandoc@v2
|
||||
- name: Set up R
|
||||
uses: r-lib/actions/setup-r@v2
|
||||
|
|
@ -75,7 +75,7 @@ jobs:
|
|||
shell: Rscript {0}
|
||||
- name: Restore R package cache
|
||||
if: runner.os != 'Windows'
|
||||
uses: actions/cache@v3
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
path: ${{ env.R_LIBS_USER }}
|
||||
key: ${{ runner.os }}-${{ hashFiles('.github/R-version') }}-1-${{ hashFiles('.github/depends.Rds') }}
|
||||
|
|
|
|||
Loading…
Reference in a new issue