Skip to content

Commit

Permalink
add go
Browse files Browse the repository at this point in the history
  • Loading branch information
2xburnt committed Sep 25, 2024
1 parent 765fa02 commit 646dd85
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/docker-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,13 @@ jobs:
with:
fetch-depth: 0

- name: Set Go Version
run: sed -En 's/^go (.*)$/GO_VERSION=\1/p' go.mod >> $GITHUB_ENV

- uses: actions/setup-go@v5
with:
go-version: ${{ env.GO_VERSION }}

- name: Run GoReleaser
env:
INCLUDE: ""
Expand Down
3 changes: 1 addition & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,7 @@ ldflags := $(strip $(ldflags))
BUILD_FLAGS := -tags "$(build_tags_comma_sep)" -ldflags '$(ldflags)' -trimpath

# The below include contains the tools and runsim targets.
INCLUDE := contrib/devtools/Makefile
include $(INCLUDE)
include contrib/devtools/Makefile

all: install lint test

Expand Down

0 comments on commit 646dd85

Please sign in to comment.