feat: bump helm 3.15.3, kyaml 0.17.2 #163
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Go & Image | |
on: | |
# Trigger the workflow on push or pull request on master branch | |
pull_request: | |
branches: | |
- master | |
- v2 | |
- v1 | |
jobs: | |
build: | |
name: Build | |
runs-on: ubuntu-latest | |
steps: | |
- name: Set up Go | |
uses: actions/setup-go@v1 | |
with: | |
go-version: 1.22 | |
- name: Check out code into the Go module directory | |
uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 | |
- name: Set up qemu | |
uses: docker/setup-qemu-action@v1 | |
with: | |
platforms: all | |
- name: Build | |
run: make khelm | |
- name: Test | |
run: make test | |
- name: Lint | |
run: make check | |
- name: Container image | |
run: make image | |
- name: e2e test | |
run: make e2e-test | |
- name: Extract Helm version | |
id: extract_helm_version | |
run: | | |
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 | |
env: | |
HELM_VERSION: ${{ steps.extract_helm_version.outputs.helm_version }} |