diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9942a78..5ab6b1a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -17,42 +17,42 @@ jobs: name: Check runs-on: ubuntu-latest steps: - - uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4 - - uses: dtolnay/rust-toolchain@3c5f7ea28cd621ae0bf5283f0e981fb97b8a7af9 # stable + - uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1 + - uses: dtolnay/rust-toolchain@3c5f7ea28cd621ae0bf5283f0e981fb97b8a7af9 # master (2026-03-27), needs toolchain input with: toolchain: stable - - uses: Swatinem/rust-cache@e18b497796c12c097a38f9edb9d0641fb99eee32 # v2 + - uses: Swatinem/rust-cache@e18b497796c12c097a38f9edb9d0641fb99eee32 # v2.9.1 + changelog-only commit on master - run: cargo check --workspace test: name: Test runs-on: ubuntu-latest steps: - - uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4 - - uses: dtolnay/rust-toolchain@3c5f7ea28cd621ae0bf5283f0e981fb97b8a7af9 # stable + - uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1 + - uses: dtolnay/rust-toolchain@3c5f7ea28cd621ae0bf5283f0e981fb97b8a7af9 # master (2026-03-27), needs toolchain input with: toolchain: stable - - uses: Swatinem/rust-cache@e18b497796c12c097a38f9edb9d0641fb99eee32 # v2 + - uses: Swatinem/rust-cache@e18b497796c12c097a38f9edb9d0641fb99eee32 # v2.9.1 + changelog-only commit on master - run: cargo test --workspace clippy: name: Clippy runs-on: ubuntu-latest steps: - - uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4 - - uses: dtolnay/rust-toolchain@3c5f7ea28cd621ae0bf5283f0e981fb97b8a7af9 # stable + - uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1 + - uses: dtolnay/rust-toolchain@3c5f7ea28cd621ae0bf5283f0e981fb97b8a7af9 # master (2026-03-27), needs toolchain input with: toolchain: stable components: clippy - - uses: Swatinem/rust-cache@e18b497796c12c097a38f9edb9d0641fb99eee32 # v2 + - uses: Swatinem/rust-cache@e18b497796c12c097a38f9edb9d0641fb99eee32 # v2.9.1 + changelog-only commit on master - run: cargo clippy --workspace -- -D warnings fmt: name: Format runs-on: ubuntu-latest steps: - - uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4 - - uses: dtolnay/rust-toolchain@3c5f7ea28cd621ae0bf5283f0e981fb97b8a7af9 # stable + - uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1 + - uses: dtolnay/rust-toolchain@3c5f7ea28cd621ae0bf5283f0e981fb97b8a7af9 # master (2026-03-27), needs toolchain input with: toolchain: stable components: rustfmt diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b643605..08ada3c 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -14,6 +14,7 @@ env: jobs: build: name: Build ${{ matrix.target }} + needs: create-release runs-on: ${{ matrix.os }} strategy: matrix: @@ -28,14 +29,14 @@ jobs: os: macos-latest steps: - - uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4 + - uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1 - - uses: dtolnay/rust-toolchain@3c5f7ea28cd621ae0bf5283f0e981fb97b8a7af9 # stable + - uses: dtolnay/rust-toolchain@3c5f7ea28cd621ae0bf5283f0e981fb97b8a7af9 # master (2026-03-27), needs toolchain input with: toolchain: stable targets: ${{ matrix.target }} - - uses: Swatinem/rust-cache@e18b497796c12c097a38f9edb9d0641fb99eee32 # v2 + - uses: Swatinem/rust-cache@e18b497796c12c097a38f9edb9d0641fb99eee32 # v2.9.1 + changelog-only commit on master with: key: ${{ matrix.target }} @@ -65,12 +66,12 @@ jobs: - name: Upload assets env: GH_TOKEN: ${{ github.token }} - run: gh release upload "$GITHUB_REF_NAME" wpx-*.tar.gz --clobber || true + run: gh release upload "$GITHUB_REF_NAME" wpx-*.tar.gz --clobber create-release: runs-on: ubuntu-latest steps: - - uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4 + - uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1 - name: Create GitHub release env: GH_TOKEN: ${{ github.token }} diff --git a/Cargo.lock b/Cargo.lock index ded60de..99590f6 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2251,7 +2251,7 @@ checksum = "d7249219f66ced02969388cf2bb044a09756a083d0fab1e566056b04d9fbcaa5" [[package]] name = "wpx" -version = "0.1.0" +version = "0.3.0" dependencies = [ "assert_cmd", "clap", @@ -2274,7 +2274,7 @@ dependencies = [ [[package]] name = "wpx-api" -version = "0.1.0" +version = "0.3.0" dependencies = [ "reqwest", "serde", @@ -2290,7 +2290,7 @@ dependencies = [ [[package]] name = "wpx-auth" -version = "0.1.0" +version = "0.3.0" dependencies = [ "base64", "open", @@ -2308,7 +2308,7 @@ dependencies = [ [[package]] name = "wpx-config" -version = "0.1.0" +version = "0.3.0" dependencies = [ "serde", "serde_json", @@ -2321,7 +2321,7 @@ dependencies = [ [[package]] name = "wpx-core" -version = "0.1.0" +version = "0.3.0" dependencies = [ "serde", "serde_json", @@ -2332,7 +2332,7 @@ dependencies = [ [[package]] name = "wpx-output" -version = "0.1.0" +version = "0.3.0" dependencies = [ "clap", "csv", diff --git a/Cargo.toml b/Cargo.toml index 2e8bea0..72c1afb 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -10,7 +10,7 @@ members = [ resolver = "2" [workspace.package] -version = "0.1.0" +version = "0.3.0" edition = "2021" license = "MIT OR Apache-2.0" repository = "https://github.com/osodevops/wpx" diff --git a/README.md b/README.md index bb2c2bb..6be67fa 100644 --- a/README.md +++ b/README.md @@ -372,7 +372,7 @@ wpx binary (6 crates) └── wpx-output JSON, Table, CSV, YAML, NDJSON rendering ``` -All crates share a workspace version (`0.1.0`) and are published together. +All crates share a workspace version (`0.3.0`) and are published together. ## Building from Source