diff --git a/.github/workflows/pr_cockpit.yml b/.github/workflows/pr_cockpit.yml index b7be0a53..98269de0 100644 --- a/.github/workflows/pr_cockpit.yml +++ b/.github/workflows/pr_cockpit.yml @@ -16,6 +16,7 @@ on: env: RUST_VERSION: 1.75.0 + GO_VERSION: '^1.22.2' CARGO_TERM_COLOR: always CARGO_INCREMENTAL: "0" CARGO_PROFILE_DEV_DEBUG: "0" @@ -88,11 +89,16 @@ jobs: with: submodules: recursive - uses: cachix/install-nix-action@6004951b182f8860210c8d6f0d808ec5b1a33d28 # tag=v25 + - name: Setup Rust uses: dtolnay/rust-toolchain@0e66bd3e6b38ec0ad5312288c83e47c143e6b09e # v1 with: toolchain: ${{ env.RUST_VERSION }} + - uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5 + with: + go-version: ${{ env.GO_VERSION }} + - name: Setup Rust Cache uses: Swatinem/rust-cache@359a70e43a0bb8a13953b04a90f76428b4959bb6 # v2.2.0 with: diff --git a/.github/workflows/pr_general.yml b/.github/workflows/pr_general.yml index 5eed611e..f871ab10 100644 --- a/.github/workflows/pr_general.yml +++ b/.github/workflows/pr_general.yml @@ -5,6 +5,7 @@ on: workflow_call env: RUST_VERSION: 1.75.0 + GO_VERSION: '^1.22.2' CARGO_TERM_COLOR: always CARGO_INCREMENTAL: "0" CARGO_PROFILE_DEV_DEBUG: "0" @@ -27,6 +28,10 @@ jobs: with: toolchain: ${{ env.RUST_VERSION }} + - uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5 + with: + go-version: ${{ env.GO_VERSION }} + - uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3.6.0 with: node-version: 18 @@ -84,6 +89,10 @@ jobs: toolchain: ${{ env.RUST_VERSION }} components: clippy + - uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5 + with: + go-version: ${{ env.GO_VERSION }} + - uses: Swatinem/rust-cache@359a70e43a0bb8a13953b04a90f76428b4959bb6 # v2.2.0 with: key: clippy @@ -123,6 +132,10 @@ jobs: toolchain: ${{ env.RUST_VERSION }} components: rustfmt + - uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5 + with: + go-version: ${{ env.GO_VERSION }} + - uses: Swatinem/rust-cache@359a70e43a0bb8a13953b04a90f76428b4959bb6 # v2.2.0 with: key: doc @@ -146,6 +159,10 @@ jobs: with: toolchain: ${{ env.RUST_VERSION }} + - uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5 + with: + go-version: ${{ env.GO_VERSION }} + - uses: Swatinem/rust-cache@359a70e43a0bb8a13953b04a90f76428b4959bb6 # v2.2.0 with: key: test diff --git a/.github/workflows/pr_stackablectl.yml b/.github/workflows/pr_stackablectl.yml index dd675e50..684b8f14 100644 --- a/.github/workflows/pr_stackablectl.yml +++ b/.github/workflows/pr_stackablectl.yml @@ -15,6 +15,7 @@ on: env: RUST_VERSION: 1.75.0 + GO_VERSION: '^1.22.2' CARGO_TERM_COLOR: always CARGO_INCREMENTAL: "0" CARGO_PROFILE_DEV_DEBUG: "0" @@ -62,7 +63,7 @@ jobs: - uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5 with: - go-version: '^1.22.2' + go-version: ${{ env.GO_VERSION }} - uses: Swatinem/rust-cache@359a70e43a0bb8a13953b04a90f76428b4959bb6 # v2.2.0 with: diff --git a/go.mod b/go.mod index 6694d74e..a598ba16 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module rust/stackable/go-helm-wrapper -go 1.21 +go 1.22 require ( github.com/mittwald/go-helm-client v0.12.9