Skip to content

Commit 5bf6afd

Browse files
committed
ci: download goreleaser binary
1 parent 1dc7cb8 commit 5bf6afd

File tree

3 files changed

+4
-7
lines changed

3 files changed

+4
-7
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ jobs:
3737
- name: Install deps
3838
run: |
3939
task deps
40+
task deps:tools
4041
4142
- name: Import gnupg
4243
run: |

Taskfile.yml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,20 +21,17 @@ tasks:
2121
deps:
2222
desc: Install all build dependencies
2323
cmds:
24-
- task: deps:tools
2524
- task: deps:be
2625
- task: deps:fe
2726

2827
deps:tools:
2928
desc: Installs required tools to build and publish
3029
vars:
31-
SWAGGER_VERSION: v0.30.5
3230
GORELEASER_VERSION: v1.25.1
33-
GOLINTER_VERSION: v1.57.2
3431
cmds:
35-
# - go install github.com/go-swagger/go-swagger/cmd/swagger@{{ .SWAGGER_VERSION }}
36-
- go install github.com/goreleaser/goreleaser@{{ .GORELEASER_VERSION }}
37-
# - go install github.com/golangci/golangci-lint/cmd/golangci-lint@{{ .GOLINTER_VERSION }}
32+
- wget https://github.com/goreleaser/goreleaser/releases/download/{{ .GORELEASER_VERSION }}/goreleaser_Linux_x86_64.tar.gz
33+
- tar xf goreleaser_Linux_x86_64.tar.gz
34+
- mv goreleaser /usr/local/bin/
3835
dir: /tmp
3936

4037
deps:be:

deployment/docker/dredd/Dockerfile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ RUN --mount=type=cache,target=/go/pkg \
1414
go mod download -x
1515

1616
RUN --mount=type=cache,target=/go/pkg --mount=type=cache,target=/root/.cache/go-build \
17-
task deps:tools && \
1817
task deps:be && \
1918
task dredd:goodman && \
2019
task dredd:hooks

0 commit comments

Comments
 (0)