mirror of
https://github.com/tailscale/tailscale.git
synced 2026-02-11 10:41:43 +01:00
Bumps [actions/checkout](https://github.com/actions/checkout) from 4.2.2 to 5.0.0.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](11bd71901b...08c6903cd8)
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-version: 5.0.0
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
32 lines
1.1 KiB
YAML
32 lines
1.1 KiB
YAML
name: "Kubernetes manifests"
|
|
on:
|
|
pull_request:
|
|
paths:
|
|
- 'cmd/k8s-operator/**'
|
|
- 'k8s-operator/**'
|
|
- '.github/workflows/kubemanifests.yaml'
|
|
|
|
# Cancel workflow run if there is a newer push to the same PR for which it is
|
|
# running
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
|
|
cancel-in-progress: true
|
|
|
|
jobs:
|
|
testchart:
|
|
runs-on: [ ubuntu-latest ]
|
|
steps:
|
|
- name: Check out code
|
|
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
|
|
- name: Build and lint Helm chart
|
|
run: |
|
|
eval `./tool/go run ./cmd/mkversion`
|
|
./tool/helm package --app-version="${VERSION_SHORT}" --version=${VERSION_SHORT} './cmd/k8s-operator/deploy/chart'
|
|
./tool/helm lint "tailscale-operator-${VERSION_SHORT}.tgz"
|
|
- name: Verify that static manifests are up to date
|
|
run: |
|
|
make kube-generate-all
|
|
echo
|
|
echo
|
|
git diff --name-only --exit-code || (echo "Generated files for Tailscale Kubernetes operator are out of date. Please run 'make kube-generate-all' and commit the diff."; exit 1)
|