mirror of
https://github.com/ntex-rs/ntex.git
synced 2025-04-01 20:07:39 +03:00
fix(github-actions): use rust toolchain arm64 version for macos 14 (#355)
* fix(osx): use rust toolchain arm version for macos 14 * feat(ntex-bytes): remove conflicting serde feature flag
This commit is contained in:
parent
49a4867005
commit
1b3a530fb7
2 changed files with 4 additions and 5 deletions
8
.github/workflows/osx.yml
vendored
8
.github/workflows/osx.yml
vendored
|
@ -11,7 +11,7 @@ jobs:
|
|||
- stable
|
||||
- nightly
|
||||
|
||||
name: ${{ matrix.version }} - x86_64-apple-darwin
|
||||
name: ${{ matrix.version }} - aarch64-apple-darwin
|
||||
runs-on: macOS-latest
|
||||
|
||||
steps:
|
||||
|
@ -20,7 +20,7 @@ jobs:
|
|||
- name: Install ${{ matrix.version }}
|
||||
uses: actions-rust-lang/setup-rust-toolchain@v1
|
||||
with:
|
||||
toolchain: ${{ matrix.version }}-x86_64-apple-darwin
|
||||
toolchain: ${{ matrix.version }}-aarch64-apple-darwin
|
||||
|
||||
- name: Generate Cargo.lock
|
||||
run: cargo generate-lockfile
|
||||
|
@ -29,13 +29,13 @@ jobs:
|
|||
uses: actions/cache@v4
|
||||
with:
|
||||
path: ~/.cargo/registry
|
||||
key: ${{ matrix.version }}-x86_64-apple-darwin-cargo-registry-trimmed-${{ hashFiles('**/Cargo.lock') }}
|
||||
key: ${{ matrix.version }}-aarch64-apple-darwin-cargo-registry-trimmed-${{ hashFiles('**/Cargo.lock') }}
|
||||
|
||||
- name: Cache cargo index
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
path: ~/.cargo/git
|
||||
key: ${{ matrix.version }}-x86_64-apple-darwin-cargo-index-trimmed-${{ hashFiles('**/Cargo.lock') }}
|
||||
key: ${{ matrix.version }}-aarch64-apple-darwin-cargo-index-trimmed-${{ hashFiles('**/Cargo.lock') }}
|
||||
|
||||
- name: Run tests
|
||||
run: cargo test --all --all-features --no-fail-fast -- --nocapture
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
#![cfg(feature = "serde")]
|
||||
#![deny(warnings, rust_2018_idioms)]
|
||||
|
||||
use serde_test::{assert_tokens, Token};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue