Skip to content

Commit

Permalink
fix: don't run test with ubuntu cargo on other os
Browse files Browse the repository at this point in the history
  • Loading branch information
Cyrix126 committed Nov 19, 2024
1 parent 2695b1e commit fd4e623
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 10 deletions.
12 changes: 3 additions & 9 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,11 @@ jobs:
- name: Format
run: cargo fmt --all --check
test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [macos-latest, ubuntu-latest]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Test
run: cargo test
run: cargo test
clippy:
runs-on: ${{ matrix.os }}
strategy:
Expand All @@ -49,10 +46,7 @@ jobs:
- name: Check compilation
run: cargo check --verbose
doc:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [macos-latest, ubuntu-latest]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Documentation
Expand Down
1 change: 0 additions & 1 deletion rust-toolchain.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
[toolchain]
# channel = "nightly-2024-10-11"
channel = "nightly"
components = [ "rustfmt", "rustc-dev", "cargo", "clippy", "rust-analyzer", "rust-src", "llvm-tools-preview", "rustc-codegen-cranelift-preview"]
target = ["x86_64-unknown-linux-gnu", "aarch64-apple-darwin", "x86_64-apple-darwin","x86_64-pc-windows-gnu"]

0 comments on commit fd4e623

Please sign in to comment.