Skip to content

ci: bump actions/checkout from 6.0.3 to 7.0.0 #35

ci: bump actions/checkout from 6.0.3 to 7.0.0

ci: bump actions/checkout from 6.0.3 to 7.0.0 #35

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
permissions:
contents: read
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
- uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
with:
go-version: "1.26.4"
- name: Install golangci-lint
run: go install github.com/golangci/golangci-lint/cmd/golangci-lint@latest
- name: golangci-lint
run: golangci-lint run ./...
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
- uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
with:
go-version: "1.26.4"
- name: Run tests
run: go test -v -race -count=1 ./...
- name: Vet
run: go vet ./...
- name: Coverage
run: |
go test -coverprofile=coverage.out ./internal/engine/...
go tool cover -func=coverage.out
build:
runs-on: ubuntu-latest
needs: [lint, test]
steps:
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
- uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
with:
go-version: "1.26.4"
- name: Build
run: go build -o bin/helm-map ./cmd/helm-map/
- name: Verify binary
run: ./bin/helm-map version