From c7b57eed1004d6ea2283590f334c8394b7b6a954 Mon Sep 17 00:00:00 2001 From: Sebastian Ziebell Date: Wed, 4 Dec 2024 14:23:27 +0100 Subject: [PATCH] Revert version update of `cargo_metadata` This reverts the version of `cargo_metadata` to `0.15.4`, that undos PR https://github.com/geiger-rs/cargo-geiger/pull/483. * update all GH checkout actions to version 4 --- .github/workflows/cache-zigs.yml | 2 +- .github/workflows/ci.yml | 6 +++--- .github/workflows/release.yml | 2 +- Cargo.lock | 18 ++---------------- cargo-geiger/Cargo.toml | 2 +- 5 files changed, 8 insertions(+), 22 deletions(-) diff --git a/.github/workflows/cache-zigs.yml b/.github/workflows/cache-zigs.yml index 946419c..d9c2c00 100644 --- a/.github/workflows/cache-zigs.yml +++ b/.github/workflows/cache-zigs.yml @@ -11,7 +11,7 @@ jobs: outputs: matrix-json: ${{ steps.set-matrix.outputs.matrix }} steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 with: repository: rinse-repeat/zig-gh-helper path: zig-helper diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9ca9563..528ffcc 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -24,7 +24,7 @@ jobs: # MacOS - runs-on: macos-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: dtolnay/rust-toolchain@stable - run: cargo test -- --skip args::args_tests::update_config_test_color_choice::case_4 --skip test_package @@ -33,7 +33,7 @@ jobs: # name: Check that clippy is happy # runs-on: ubuntu-latest # steps: -# - uses: actions/checkout@v3 +# - uses: actions/checkout@v4 # - uses: dtolnay/rust-toolchain@1.73.0 # with: # components: clippy @@ -43,7 +43,7 @@ jobs: name: Check formatting runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: dtolnay/rust-toolchain@stable with: components: rustfmt diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 9b99421..126059a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -19,7 +19,7 @@ jobs: outputs: matrix-json: ${{ steps.set-matrix.outputs.matrix }} steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 with: path: release-repo - id: set-matrix diff --git a/Cargo.lock b/Cargo.lock index 52d5c96..1d3cb47 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -365,7 +365,7 @@ dependencies = [ "cargo-geiger-serde", "cargo-platform", "cargo-util", - "cargo_metadata 0.18.1", + "cargo_metadata", "colored", "console", "fs_extra", @@ -442,20 +442,6 @@ dependencies = [ "thiserror", ] -[[package]] -name = "cargo_metadata" -version = "0.18.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2d886547e41f740c616ae73108f6eb70afe6d940c7bc697cb30f13daec073037" -dependencies = [ - "camino", - "cargo-platform", - "semver", - "serde", - "serde_json", - "thiserror", -] - [[package]] name = "cc" version = "1.0.83" @@ -2043,7 +2029,7 @@ version = "0.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a857d4b6450fbc2b85c03684b2beae51916a5a90e2fb5f9c2b8acc920ad29e49" dependencies = [ - "cargo_metadata 0.15.4", + "cargo_metadata", "cfg-expr", "petgraph", "semver", diff --git a/cargo-geiger/Cargo.toml b/cargo-geiger/Cargo.toml index 7c3b11f..2311e09 100644 --- a/cargo-geiger/Cargo.toml +++ b/cargo-geiger/Cargo.toml @@ -17,7 +17,7 @@ maintenance = { status = "experimental" } anyhow = "1.0.70" cargo = "0.75.1" cargo-geiger-serde = { path = "../cargo-geiger-serde", version = "0.2.3" } -cargo_metadata = "0.18.1" +cargo_metadata = "0.15.4" cargo-platform = "0.1.2" colored = "2.0.0" console = "0.15.5"