Upgrade helm chart with new private action runner version (#1610) #76
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Go Test Private Action Runner | |
on: | |
push: | |
paths: | |
- 'test/private-action-runner/**' | |
- 'charts/private-action-runner/**' | |
pull_request: | |
paths: | |
- 'test/private-action-runner/**' | |
- 'charts/private-action-runner/**' | |
# Permission forced by repo-level setting; only elevate on job-level | |
permissions: | |
contents: read | |
# packages: read | |
env: | |
GO111MODULE: "on" | |
PROJECTNAME: "helm-charts" | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Set up Go | |
uses: actions/setup-go@v1 | |
with: | |
go-version: 1.21 | |
id: go | |
- name: Set up Helm | |
uses: azure/[email protected] | |
with: | |
version: v3.10.1 | |
- name: Add Datadog Helm repo | |
run: helm repo add datadog https://helm.datadoghq.com && helm repo update | |
- name: Check out code into the Go module directory | |
uses: actions/checkout@v1 | |
- name: run Go tests | |
run: | | |
helm dependency build ./charts/private-action-runner | |
make unit-test-private-action-runner |