mirror of
https://github.com/helm/helm.git
synced 2026-08-05 15:40:40 +00:00
Bumps [actions/checkout](https://github.com/actions/checkout) from 7.0.0 to 7.0.1.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](9c091bb21b...3d3c42e5aa)
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-version: 7.0.1
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
37 lines
936 B
YAML
37 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@3d3c42e5aac5ba805825da76410c181273ba90b1 # pin@v7.0.1
|
|
- name: Add variables to environment file
|
|
run: cat ".github/env" >> "$GITHUB_ENV"
|
|
- name: Setup Go
|
|
uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e # pin@7.0.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
|