mirror of
https://github.com/saymrwulf/prophet.git
synced 2026-11-17 08:40:56 +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:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
python-version: ["3.10"]
|
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
|
fail-fast: false
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
|
@ -24,9 +24,9 @@ jobs:
|
||||||
(Get-ItemProperty "HKLM:System\CurrentControlSet\Control\FileSystem").LongPathsEnabled
|
(Get-ItemProperty "HKLM:System\CurrentControlSet\Control\FileSystem").LongPathsEnabled
|
||||||
$os_version = (Get-CimInstance Win32_OperatingSystem).version
|
$os_version = (Get-CimInstance Win32_OperatingSystem).version
|
||||||
Echo "OS_VERSION=$os_version" >> $env:GITHUB_ENV
|
Echo "OS_VERSION=$os_version" >> $env:GITHUB_ENV
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4
|
||||||
- name: Set up Python ${{ matrix.python-version }}
|
- name: Set up Python ${{ matrix.python-version }}
|
||||||
uses: actions/setup-python@v4
|
uses: actions/setup-python@v5
|
||||||
with:
|
with:
|
||||||
python-version: ${{ matrix.python-version }}
|
python-version: ${{ matrix.python-version }}
|
||||||
cache: pip
|
cache: pip
|
||||||
|
|
@ -34,7 +34,7 @@ jobs:
|
||||||
- name: "Restore RTools40"
|
- name: "Restore RTools40"
|
||||||
if: startsWith(runner.os, 'Windows')
|
if: startsWith(runner.os, 'Windows')
|
||||||
id: cache-rtools
|
id: cache-rtools
|
||||||
uses: actions/cache@v3
|
uses: actions/cache@v4
|
||||||
with:
|
with:
|
||||||
path: C:/rtools40
|
path: C:/rtools40
|
||||||
key: ${{ runner.os }}-${{ env.OS_VERSION }}-rtools-v1
|
key: ${{ runner.os }}-${{ env.OS_VERSION }}-rtools-v1
|
||||||
|
|
@ -58,7 +58,7 @@ jobs:
|
||||||
RSPM: ${{ matrix.config.rspm }}
|
RSPM: ${{ matrix.config.rspm }}
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4
|
||||||
- uses: r-lib/actions/setup-pandoc@v2
|
- uses: r-lib/actions/setup-pandoc@v2
|
||||||
- name: Set up R
|
- name: Set up R
|
||||||
uses: r-lib/actions/setup-r@v2
|
uses: r-lib/actions/setup-r@v2
|
||||||
|
|
@ -75,7 +75,7 @@ jobs:
|
||||||
shell: Rscript {0}
|
shell: Rscript {0}
|
||||||
- name: Restore R package cache
|
- name: Restore R package cache
|
||||||
if: runner.os != 'Windows'
|
if: runner.os != 'Windows'
|
||||||
uses: actions/cache@v3
|
uses: actions/cache@v4
|
||||||
with:
|
with:
|
||||||
path: ${{ env.R_LIBS_USER }}
|
path: ${{ env.R_LIBS_USER }}
|
||||||
key: ${{ runner.os }}-${{ hashFiles('.github/R-version') }}-1-${{ hashFiles('.github/depends.Rds') }}
|
key: ${{ runner.os }}-${{ hashFiles('.github/R-version') }}-1-${{ hashFiles('.github/depends.Rds') }}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue