diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 2a2d41d..ca94716 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -19,7 +19,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v1 with: - go-version: 1.19 + go-version: 1.22 - name: Check out code into the Go module directory uses: actions/checkout@v2 @@ -34,8 +34,8 @@ jobs: - name: Extract Helm version id: extract_helm_version run: | - printf '::set-output name=helm_version::' && - grep helm\.sh/helm/ go.mod | sed -E -e 's!helm\.sh/helm/v3|\s+|\+.*!!g; s!^v!!' | cut -d " " -f2 | grep -E .+ + HELM_VERSION="$(grep helm\.sh/helm/ go.mod | sed -E -e 's!helm\.sh/helm/v3|\s+|\+.*!!g; s!^v!!' | cut -d ' ' -f2 | grep -E .+)" + echo "helm_version=$HELM_VERSION" >> $GITHUB_OUTPUT - name: Build & Test run: make test check image e2e-test diff --git a/.github/workflows/verify.yml b/.github/workflows/verify.yml index 9b1b2a1..cd75272 100644 --- a/.github/workflows/verify.yml +++ b/.github/workflows/verify.yml @@ -17,7 +17,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v1 with: - go-version: 1.19 + go-version: 1.22 - name: Check out code into the Go module directory uses: actions/checkout@v2 @@ -47,8 +47,8 @@ jobs: - name: Extract Helm version id: extract_helm_version run: | - printf '::set-output name=helm_version::' && - grep helm\.sh/helm/ go.mod | sed -E -e 's!helm\.sh/helm/v3|\s+|\+.*!!g; s!^v!!' | cut -d " " -f2 | grep -E .+ + HELM_VERSION="$(grep helm\.sh/helm/ go.mod | sed -E -e 's!helm\.sh/helm/v3|\s+|\+.*!!g; s!^v!!' | cut -d ' ' -f2 | grep -E .+)" + echo "helm_version=$HELM_VERSION" >> $GITHUB_OUTPUT - name: Dry-run release run: make snapshot