Skip to content

Commit 42979f3

Browse files
committed

File tree

2 files changed

+6
-8
lines changed

2 files changed

+6
-8
lines changed

.github/workflows/ci.yml

+3-5
Original file line numberDiff line numberDiff line change
@@ -59,10 +59,10 @@ jobs:
5959
- rust: beta
6060
- rust: nightly
6161
- rust: nightly
62-
os: macos-11
62+
os: macos-latest
6363
- rust: nightly
64-
os: windows-2019
65-
runs-on: ${{ matrix.os || 'ubuntu-20.04' }}
64+
os: windows-latest
65+
runs-on: ${{ matrix.os || 'ubuntu-latest' }}
6666
timeout-minutes: 60
6767
steps:
6868
- uses: taiki-e/checkout-action@v1
@@ -72,8 +72,6 @@ jobs:
7272
- uses: taiki-e/install-action@cargo-hack
7373
- uses: taiki-e/install-action@cargo-minimal-versions
7474
- uses: taiki-e/install-action@nextest
75-
- run: echo "RUSTFLAGS=${RUSTFLAGS} -C target-feature=+crt-static" >>"${GITHUB_ENV}"
76-
if: startsWith(matrix.os, 'windows')
7775
- run: cargo test --workspace --all-features
7876
# TODO: move this test to tests/test.rs
7977
- run: cargo install --path . --debug

.github/workflows/release.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -39,15 +39,15 @@ jobs:
3939
- target: aarch64-unknown-linux-gnu
4040
- target: aarch64-unknown-linux-musl
4141
- target: aarch64-apple-darwin
42-
os: macos-11
42+
os: macos-12
4343
- target: x86_64-unknown-linux-gnu
4444
- target: x86_64-unknown-linux-musl
4545
- target: x86_64-apple-darwin
46-
os: macos-11
46+
os: macos-12
4747
- target: x86_64-pc-windows-msvc
4848
os: windows-2019
4949
- target: universal-apple-darwin
50-
os: macos-11
50+
os: macos-12
5151
runs-on: ${{ matrix.os || 'ubuntu-20.04' }}
5252
timeout-minutes: 60
5353
permissions:

0 commit comments

Comments
 (0)