Skip to content

Commit

Permalink
Add github workflow for private-action-runner
Browse files Browse the repository at this point in the history
  • Loading branch information
dd-gplassard committed Sep 23, 2024
1 parent f193670 commit bde765a
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 1 deletion.
34 changes: 34 additions & 0 deletions .github/workflows/go-test-private-action-runner.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Go Test
on:
push:
paths:
- 'test/private-action-runner/**'
- 'charts/private-action-runner/**'
pull_request:
paths:
- 'test/private-action-runner/**'
- 'charts/private-action-runner/**'
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-operator
2 changes: 1 addition & 1 deletion .github/workflows/go-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v1
with:
go-version: 1.20
go-version: 1.21
id: go
- name: Set up Helm
uses: azure/[email protected]
Expand Down

0 comments on commit bde765a

Please sign in to comment.