From 44461bf5ab0150840e92c4d99750e73128bc3264 Mon Sep 17 00:00:00 2001 From: Andrei Pohilko Date: Tue, 4 Oct 2022 08:50:20 +0100 Subject: [PATCH] Test the workaround --- .github/workflows/build.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index bcb2bb5..13b30fd 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -26,6 +26,14 @@ jobs: run: | go install github.com/fzipp/gocyclo/cmd/gocyclo@latest /home/runner/go/bin/gocyclo -over 19 main.go pkg # forbid code with huge/complex functions + - name: Inject version + uses: jacobtomlinson/gha-find-replace@v2 + with: + find: 'v0.0.0' + replace: ${{ github.ref_name }} + include: "pkg/dashboard/static/datadog.js" + - name: Calm down GoReleaser + run: git add pkg/dashboard/static/datadog.js && git commit -m "temporary" - name: Dry Run GoReleaser uses: goreleaser/goreleaser-action@v2 with: