diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 86de1c60..e0fdc7b1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -59,10 +59,10 @@ jobs: - rust: beta - rust: nightly - rust: nightly - os: macos-11 + os: macos-latest - rust: nightly - os: windows-2019 - runs-on: ${{ matrix.os || 'ubuntu-20.04' }} + os: windows-latest + runs-on: ${{ matrix.os || 'ubuntu-latest' }} timeout-minutes: 60 steps: - uses: taiki-e/checkout-action@v1 @@ -72,8 +72,6 @@ jobs: - uses: taiki-e/install-action@cargo-hack - uses: taiki-e/install-action@cargo-minimal-versions - uses: taiki-e/install-action@nextest - - run: echo "RUSTFLAGS=${RUSTFLAGS} -C target-feature=+crt-static" >>"${GITHUB_ENV}" - if: startsWith(matrix.os, 'windows') - run: cargo test --workspace --all-features # TODO: move this test to tests/test.rs - run: cargo install --path . --debug diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f2f9cf12..54dbee74 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -39,15 +39,15 @@ jobs: - target: aarch64-unknown-linux-gnu - target: aarch64-unknown-linux-musl - target: aarch64-apple-darwin - os: macos-11 + os: macos-12 - target: x86_64-unknown-linux-gnu - target: x86_64-unknown-linux-musl - target: x86_64-apple-darwin - os: macos-11 + os: macos-12 - target: x86_64-pc-windows-msvc os: windows-2019 - target: universal-apple-darwin - os: macos-11 + os: macos-12 runs-on: ${{ matrix.os || 'ubuntu-20.04' }} timeout-minutes: 60 permissions: