Skip to content

feat: add helm tests #63

feat: add helm tests

feat: add helm tests #63

Workflow file for this run

name: Lint
on:
pull_request:
# paths:
# - '**.go'
permissions:
contents: read
pull-requests: read
checks: write
jobs:
golangci:
name: golangci
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: stable
- name: golangci-lint
uses: golangci/golangci-lint-action@v6
with:
version: v1.60
args: --timeout=8m --verbose
go-test:
name: go test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v5
with:
check-latest: true
- name: Display Go version
run: go test ./...
test-on-cluster:
name: Cluster test
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Set up Helm
uses: azure/[email protected]
with:
version: v3.16.4
- name: Set up chart-testing
uses: helm/[email protected]
- name: Create k8s Kind Cluster
uses: helm/kind-action@v1
- name: Run chart-testing (install)
run: |
make helm path=test version=99.99.99
cd test
ct install --target-branch ${{ github.event.repository.default_branch }}