Skip to content

Commit 82180bb

Browse files
authored
Update build-and-test.yml
1 parent d8c5b80 commit 82180bb

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/build-and-test.yml

+6-6
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
strategy:
1414
matrix:
1515
python-version: ["3.10"]
16-
os: ["macos-latest", "ubuntu-latest", "windows-latest", "macos-latest-xlarge"]
16+
os: ["macos-13", "ubuntu-latest", "windows-latest", "macos-latest-xlarge"]
1717
fail-fast: false
1818

1919
steps:
@@ -24,17 +24,17 @@ jobs:
2424
(Get-ItemProperty "HKLM:System\CurrentControlSet\Control\FileSystem").LongPathsEnabled
2525
$os_version = (Get-CimInstance Win32_OperatingSystem).version
2626
Echo "OS_VERSION=$os_version" >> $env:GITHUB_ENV
27-
- uses: actions/checkout@v3
27+
- uses: actions/checkout@v4
2828
- name: Set up Python ${{ matrix.python-version }}
29-
uses: actions/setup-python@v4
29+
uses: actions/setup-python@v5
3030
with:
3131
python-version: ${{ matrix.python-version }}
3232
cache: pip
3333
cache-dependency-path: "**/python/pyproject.toml"
3434
- name: "Restore RTools40"
3535
if: startsWith(runner.os, 'Windows')
3636
id: cache-rtools
37-
uses: actions/cache@v3
37+
uses: actions/cache@v4
3838
with:
3939
path: C:/rtools40
4040
key: ${{ runner.os }}-${{ env.OS_VERSION }}-rtools-v1
@@ -58,7 +58,7 @@ jobs:
5858
RSPM: ${{ matrix.config.rspm }}
5959

6060
steps:
61-
- uses: actions/checkout@v3
61+
- uses: actions/checkout@v4
6262
- uses: r-lib/actions/setup-pandoc@v2
6363
- name: Set up R
6464
uses: r-lib/actions/setup-r@v2
@@ -75,7 +75,7 @@ jobs:
7575
shell: Rscript {0}
7676
- name: Restore R package cache
7777
if: runner.os != 'Windows'
78-
uses: actions/cache@v3
78+
uses: actions/cache@v4
7979
with:
8080
path: ${{ env.R_LIBS_USER }}
8181
key: ${{ runner.os }}-${{ hashFiles('.github/R-version') }}-1-${{ hashFiles('.github/depends.Rds') }}

0 commit comments

Comments
 (0)