mirror of https://github.com/helm/helm
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
719 B
32 lines
719 B
name: build-test
|
|
on:
|
|
push:
|
|
branches:
|
|
- "main"
|
|
- "dev-v3"
|
|
- "release-**"
|
|
pull_request:
|
|
branches:
|
|
- main
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout source code
|
|
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # pin@v4.2.2
|
|
- name: Setup Go
|
|
uses: actions/setup-go@41dfa10bad2bb2ae585af6ee5bb4d7d973ad74ed # pin@5.1.0
|
|
with:
|
|
go-version: '1.22'
|
|
check-latest: true
|
|
- name: Test source headers are present
|
|
run: make test-source-headers
|
|
- name: Run unit tests
|
|
run: make test-coverage
|
|
- name: Test build
|
|
run: make build
|