From 715c6beddbe2978ebb2ec24ea97cf6c3cf7a0e18 Mon Sep 17 00:00:00 2001 From: Ning Sun Date: Wed, 8 Jan 2025 20:24:24 +0800 Subject: [PATCH] Revert "ci: update github workflow" This reverts commit f528ad8e55dbaf4cc45054a923feca2d80cac2d4. --- .github/workflows/main.yml | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index bf290b48d..37506451b 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -72,11 +72,18 @@ jobs: name: MSRV runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v3 - uses: actions-rs/toolchain@v1 with: - toolchain: "nightly" + toolchain: "1.73" override: true - - uses: taiki-e/install-action@cargo-hack - - uses: taiki-e/install-action@cargo-minimal-versions - - run: cargo minimal-versions check --all-features + - run: cargo build --all-features + + security_audit: + name: rust_audit + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: actions-rs/audit-check@v1 + with: + token: ${{ secrets.GITHUB_TOKEN }}