From 1772bb095a433564c72e511d2f4609998fcb3be4 Mon Sep 17 00:00:00 2001 From: Haydon Ryan Date: Sun, 30 Nov 2025 16:06:45 -0600 Subject: [PATCH 1/4] Added cargo audit and deny to test github action --- .github/workflows/test.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 062f9700..4ed4ea57 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -45,3 +45,9 @@ jobs: key: ${{matrix.rust_version}} - run: cargo update - run: cargo test --all-features + - name: Install cargo-audit, cargo-deny + run: cargo install cargo-audit cargo-deny + - name: Security Check + run: cargo audit + - name: Dependency Check + run: cargo deny check ban advisories sources From 7cbb4975e3be52ea60c688ab1d637736219a9c52 Mon Sep 17 00:00:00 2001 From: Haydon Ryan Date: Sun, 30 Nov 2025 17:54:38 -0600 Subject: [PATCH 2/4] Added starter publish to crates.io releaser --- .github/workflows/publish.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/publish.yml diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml new file mode 100644 index 00000000..3e2f98a1 --- /dev/null +++ b/.github/workflows/publish.yml @@ -0,0 +1,21 @@ +name: Publish to crates.io + +on: + release: + types: [published] + +jobs: + publish: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: dtolnay/rust-toolchain@master + with: + toolchain: stable + - uses: Swatinem/rust-cache@v2 + with: + key: stable + - run: cargo update + - run: cargo test --all-features + - name: Publish to crates.io + run: cargo publish --token ${{ secrets.CRATES_IO_TOKEN }} From 26b7d0f054ce8337c64048c6cf4c6ef6538fd952 Mon Sep 17 00:00:00 2001 From: Haydon Ryan Date: Mon, 1 Dec 2025 13:11:49 -0600 Subject: [PATCH 3/4] Refactored cargo deny / audit into action --- .github/workflows/test.yml | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 4ed4ea57..fd2de507 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -45,9 +45,6 @@ jobs: key: ${{matrix.rust_version}} - run: cargo update - run: cargo test --all-features - - name: Install cargo-audit, cargo-deny - run: cargo install cargo-audit cargo-deny - - name: Security Check - run: cargo audit - - name: Dependency Check - run: cargo deny check ban advisories sources + - uses: EmbarkStudios/cargo-deny-action@v2 + with: + command: check bans sources advisories From 80aa3e6dce44923a59951e76c87a7f944ee3dafd Mon Sep 17 00:00:00 2001 From: Haydon Ryan Date: Mon, 1 Dec 2025 13:15:00 -0600 Subject: [PATCH 4/4] Revert "Added starter publish to crates.io releaser" This reverts commit 7cbb4975e3be52ea60c688ab1d637736219a9c52. --- .github/workflows/publish.yml | 21 --------------------- 1 file changed, 21 deletions(-) delete mode 100644 .github/workflows/publish.yml diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml deleted file mode 100644 index 3e2f98a1..00000000 --- a/.github/workflows/publish.yml +++ /dev/null @@ -1,21 +0,0 @@ -name: Publish to crates.io - -on: - release: - types: [published] - -jobs: - publish: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - - uses: dtolnay/rust-toolchain@master - with: - toolchain: stable - - uses: Swatinem/rust-cache@v2 - with: - key: stable - - run: cargo update - - run: cargo test --all-features - - name: Publish to crates.io - run: cargo publish --token ${{ secrets.CRATES_IO_TOKEN }}