Skip to content

Commit 1972339

Browse files
committed
chore: upgrade github action image
1 parent ae2dab1 commit 1972339

File tree

2 files changed

+14
-14
lines changed

2 files changed

+14
-14
lines changed

.github/workflows/ci.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,14 +62,14 @@ jobs:
6262
runs-on: ${{ matrix.os }}
6363
strategy:
6464
matrix:
65-
os: [ ubuntu-latest, macos-latest, windows-2019 ]
65+
os: [ ubuntu-latest, macos-latest, windows-2022 ]
6666
steps:
6767
- name: Checkout the Repository
6868
uses: actions/checkout@v4
6969
- name: Install cargo-nextest
7070
uses: taiki-e/install-action@nextest
7171
- name: Windows Dependencies
72-
if: matrix.os == 'windows-2019'
72+
if: matrix.os == 'windows-2022'
7373
run: |
7474
iwr -useb get.scoop.sh -outfile 'install-scoop.ps1'
7575
.\install-scoop.ps1 -RunAsAdmin

.github/workflows/release.yaml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -14,21 +14,21 @@ jobs:
1414
runs-on: ${{ matrix.os }}
1515
strategy:
1616
matrix:
17-
os: [ ubuntu-20.04, ubuntu-22.04, macos-12, macos-13, windows-2019 ]
17+
os: [ ubuntu-22.04, ubuntu-24.04, macos-13, macos-14, windows-2022 ]
1818
include:
19-
- os: ubuntu-20.04
19+
- os: ubuntu-22.04
2020
bin_suffix:
2121
pkg_suffix: x86_64-linux-portable
22-
- os: ubuntu-22.04
22+
- os: ubuntu-24.04
2323
bin_suffix:
2424
pkg_suffix: x86_64-linux
25-
- os: macos-12
25+
- os: macos-13
2626
bin_suffix:
2727
pkg_suffix: x86_64-darwin-portable
28-
- os: macos-13
28+
- os: macos-14
2929
bin_suffix:
3030
pkg_suffix: x86_64-darwin
31-
- os: windows-2019
31+
- os: windows-2022
3232
bin_suffix: .exe
3333
pkg_suffix: x86_64-windows
3434
steps:
@@ -38,15 +38,15 @@ jobs:
3838
run: |
3939
rustup toolchain install ${{ env.RUST_TOOLCHAIN }} --profile minimal
4040
rustup override set ${{ env.RUST_TOOLCHAIN }}
41-
- if: matrix.os == 'windows-2019'
41+
- if: matrix.os == 'windows-2022'
4242
name: Windows Dependencies
4343
run: |
4444
iwr -useb get.scoop.sh -outfile 'install-scoop.ps1'
4545
.\install-scoop.ps1 -RunAsAdmin
4646
echo "LIBCLANG_PATH=$($HOME)/scoop/apps/llvm/current/bin" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append
4747
echo "$env:USERPROFILE\scoop\shims" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
4848
scoop install llvm yasm
49-
- if: matrix.os == 'ubuntu-20.04'
49+
- if: matrix.os == 'ubuntu-22.04'
5050
name: Build linux portable
5151
run: |
5252
export PWD_DIR=$(pwd)
@@ -60,24 +60,24 @@ jobs:
6060
export OPENSSL_INCLUDE_DIR=${PWD_DIR}/openssl-1.1.1s/include
6161
export OPENSSL_STATIC=1
6262
cargo build --release --features portable
63-
- if: matrix.os == 'ubuntu-22.04'
63+
- if: matrix.os == 'ubuntu-24.04'
6464
name: Build linux
6565
run: cargo build --release
66-
- if: matrix.os == 'macos-12'
66+
- if: matrix.os == 'macos-13'
6767
name: Build macos portable
6868
run: |
6969
export OPENSSL_LIB_DIR=/usr/local/opt/openssl@1.1/lib
7070
export OPENSSL_INCLUDE_DIR=/usr/local/opt/openssl@1.1/include
7171
export OPENSSL_STATIC=1
7272
cargo build --release --features portable
73-
- if: matrix.os == 'macos-13'
73+
- if: matrix.os == 'macos-14'
7474
name: Build macos
7575
run: |
7676
export OPENSSL_LIB_DIR=/usr/local/opt/openssl@1.1/lib
7777
export OPENSSL_INCLUDE_DIR=/usr/local/opt/openssl@1.1/include
7878
export OPENSSL_STATIC=1
7979
cargo build --release
80-
- if: matrix.os == 'windows-2019'
80+
- if: matrix.os == 'windows-2022'
8181
name: Build windows
8282
run: cargo build --release
8383
- name: Get the Version

0 commit comments

Comments
 (0)