diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b796ddf..446c04a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -13,12 +13,7 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - uses: actions-rs/toolchain@v1 - with: - profile: minimal - toolchain: stable - components: rustfmt - default: true + - name: Check formatting run: cargo fmt -- --check @@ -26,16 +21,8 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - uses: actions-rs/toolchain@v1 - with: - profile: minimal - toolchain: stable - components: clippy - default: true - - name: Lint (clippy) - uses: actions-rs/clippy-check@v1 - with: - token: ${{ secrets.GITHUB_TOKEN }} + + - run: cargo clippy -- -D warnings permissions: checks: write @@ -44,17 +31,6 @@ jobs: steps: - uses: actions/checkout@v4 - - uses: actions-rs/toolchain@v1 - with: - profile: minimal - toolchain: stable - default: true - - name: Install cargo-audit - uses: actions-rs/install@v0.1.2 - with: - crate: cargo-audit - version: latest - use-tool-cache: true - name: Audit run: cargo audit --deny warnings @@ -74,19 +50,6 @@ jobs: steps: - uses: actions/checkout@v4 - - uses: actions-rs/toolchain@v1 - with: - profile: minimal - toolchain: ${{ matrix.rust }} - default: true - - - name: Install cargo-all-features - uses: actions-rs/install@v0.1 - with: - crate: cargo-all-features - version: latest - use-tool-cache: true - - name: Build run: cargo build-all-features