mirror of
https://github.com/helm/helm.git
synced 2026-02-03 20:39:45 -05:00
Bumps [actions/checkout](https://github.com/actions/checkout) from 6.0.1 to 6.0.2.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](8e8c483db8...de0fac2e45)
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-version: 6.0.2
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
36 lines
936 B
YAML
36 lines
936 B
YAML
name: build-test
|
|
on:
|
|
push:
|
|
branches:
|
|
- "main"
|
|
- "dev-v3"
|
|
- "release-**"
|
|
pull_request:
|
|
branches:
|
|
- "main"
|
|
- "dev-v3"
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout source code
|
|
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # pin@v6.0.2
|
|
- name: Add variables to environment file
|
|
run: cat ".github/env" >> "$GITHUB_ENV"
|
|
- name: Setup Go
|
|
uses: actions/setup-go@7a3fe6cf4cb3a834922a1244abfce67bcef6a0c5 # pin@6.2.0
|
|
with:
|
|
go-version: '${{ env.GOLANG_VERSION }}'
|
|
check-latest: true
|
|
- name: Test source headers are present
|
|
run: make test-source-headers
|
|
- name: Check if go modules need to be tidied
|
|
run: go mod tidy -diff
|
|
- name: Run unit tests
|
|
run: make test-coverage
|
|
- name: Test build
|
|
run: make build
|