Skip to content

Commit

Permalink
Add tags to the golden file checker
Browse files Browse the repository at this point in the history
  • Loading branch information
mkeeler committed Jan 17, 2025
1 parent 918efcf commit a5be83e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/goldenfile-checker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ on:
- main
- release/*

env:
GOFLAGS: -tags=hashicorpmetrics

jobs:
get-go-version:
uses: ./.github/workflows/reusable-get-go-version.yml
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/reusable-unit-split.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@ env:
GOARCH: ${{inputs.go-arch}}
TOTAL_RUNNERS: ${{inputs.runner-count}}
CONSUL_LICENSE: ${{secrets.consul-license}}
GOTAGS: hashicorpmetrics ${{ inputs.go-tags }}
GOFLAGS: "-tags=hashicorpmetrics ${{ inputs.go-tags }}"
GOTAGS: hashicorpmetrics,${{ inputs.go-tags }}
GOFLAGS: "-tags=hashicorpmetrics,${{ inputs.go-tags }}"
GOPRIVATE: github.com/hashicorp # Required for enterprise deps
DATADOG_API_KEY: ${{secrets.datadog-api-key}}

Expand Down

0 comments on commit a5be83e

Please sign in to comment.