Skip to content

Commit

Permalink
ci: remove semver checks
Browse files Browse the repository at this point in the history
  • Loading branch information
bluurryy committed Sep 15, 2024
1 parent c077037 commit 94fe9e4
Showing 1 changed file with 21 additions and 27 deletions.
48 changes: 21 additions & 27 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,15 @@ name: Rust

on:
push:
branches: [ "main" ]
branches: ["main"]
pull_request:
branches: [ "main" ]
branches: ["main"]

env:
CARGO_TERM_COLOR: always
RUST_BACKTRACE: 1

jobs:
semver:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: obi1kenobi/cargo-semver-checks-action@v2
format:
runs-on: ubuntu-latest
steps:
Expand Down Expand Up @@ -45,30 +40,29 @@ jobs:
- toolchain: "nightly"
tests: ""
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{matrix.toolchain}}
components: clippy
- run: cargo clippy --all ${{matrix.tests}}
- run: cargo clippy --all ${{matrix.tests}} ${{matrix.features}}
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{matrix.toolchain}}
components: clippy
- run: cargo clippy --all ${{matrix.tests}}
- run: cargo clippy --all ${{matrix.tests}} ${{matrix.features}}
clippy-benches:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@nightly
with:
components: clippy
- run: cargo clippy --benches --all-features
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@nightly
with:
components: clippy
- run: cargo clippy --benches --all-features
test:
runs-on: ubuntu-latest
env:
MIRIFLAGS: "-Zmiri-strict-provenance"
MIRIFLAGS: "-Zmiri-strict-provenance"
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@nightly
with:
components: miri
- run: cargo test --all-features
- run: cargo miri test --all-features

- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@nightly
with:
components: miri
- run: cargo test --all-features
- run: cargo miri test --all-features

0 comments on commit 94fe9e4

Please sign in to comment.