diff --git a/.github/workflows/audit.yml b/.github/workflows/audit.yml index a9ce0cd..3ca84c8 100644 --- a/.github/workflows/audit.yml +++ b/.github/workflows/audit.yml @@ -8,8 +8,6 @@ on: paths: - "**/Cargo.toml" - "**/Cargo.lock" - schedule: - - cron: "2 2 2 * *" jobs: security_audit: @@ -17,6 +15,6 @@ jobs: steps: - name: Checkout repository uses: actions/checkout@v4 - - uses: actions-rs/audit-check@v1 + - uses: rustsec/audit-check@v1.4.1 with: token: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/automerge.yml b/.github/workflows/automerge.yml deleted file mode 100644 index 6adbf4d..0000000 --- a/.github/workflows/automerge.yml +++ /dev/null @@ -1,28 +0,0 @@ -name: automerge -on: - pull_request: - types: - - labeled - - unlabeled - - synchronize - - opened - - edited - - ready_for_review - - reopened - - unlocked - pull_request_review: - types: - - submitted - check_suite: - types: - - completed - status: {} -jobs: - automerge: - runs-on: ubuntu-latest - steps: - - id: automerge - name: automerge - uses: "pascalgn/automerge-action@v0.15.6" - env: - GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}" diff --git a/.github/workflows/clippy.yml b/.github/workflows/clippy.yml index dafb9ea..b6121ac 100644 --- a/.github/workflows/clippy.yml +++ b/.github/workflows/clippy.yml @@ -9,8 +9,8 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 + - uses: dtolnay/rust-toolchain@stable - run: rustup component add clippy - - uses: actions-rs/clippy-check@v1 - with: - token: ${{ secrets.GITHUB_TOKEN }} - args: --all-features + - run: cargo clippy --all-features + env: + RUSTFLAGS: "-Dwarnings" diff --git a/Cargo.toml b/Cargo.toml index 2c6fbe9..02cba4f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -16,18 +16,18 @@ categories = ["algorithms", "data-structures", "encoding"] # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -k8s-openapi = { version = "0.20.0", default-features = false } +k8s-openapi = { version = "0.21.1", default-features = false } nom = "7.1.3" rust_decimal = "1.32.0" thiserror = "1.0.48" [dev-dependencies] -k8s-openapi = { version = "0.20.0", default-features = false, features = [ - "v1_28", +k8s-openapi = { version = "0.21.1", default-features = false, features = [ + "v1_29", ] } [features] -__check = ["k8s-openapi/v1_28"] +__check = ["k8s-openapi/v1_29"] [package.metadata.docs.rs] -features = ["k8s-openapi/v1_28"] +features = ["k8s-openapi/v1_29"]