mirror of
https://dev.azure.com/schwarzit/schwarzit.stackit-public/_git/audit-go
synced 2026-02-14 11:57:24 +00:00
Configure version numbers of build dependencies in pipeline variables
This commit is contained in:
parent
7d299ada4c
commit
fdecdd935c
1 changed files with 12 additions and 4 deletions
|
|
@ -2,8 +2,16 @@ pool:
|
||||||
vmImage: 'ubuntu-latest'
|
vmImage: 'ubuntu-latest'
|
||||||
|
|
||||||
variables:
|
variables:
|
||||||
|
- name: bufVersion
|
||||||
|
value: v1.45.0
|
||||||
|
- name: golangCiLintVersion
|
||||||
|
value: v1.61.0
|
||||||
- name: goVersion
|
- name: goVersion
|
||||||
value: 1.23.0
|
value: 1.23.0
|
||||||
|
- name: protobufValidateVersion
|
||||||
|
value: v1.1.0
|
||||||
|
- name: protobufVersion
|
||||||
|
value: v1.34.2
|
||||||
- name: GOPATH
|
- name: GOPATH
|
||||||
value: '$(system.defaultWorkingDirectory)/gopath'
|
value: '$(system.defaultWorkingDirectory)/gopath'
|
||||||
|
|
||||||
|
|
@ -25,10 +33,10 @@ stages:
|
||||||
|
|
||||||
- bash: |
|
- bash: |
|
||||||
set -e
|
set -e
|
||||||
go install google.golang.org/protobuf/cmd/protoc-gen-go@v1.34.2
|
go install google.golang.org/protobuf/cmd/protoc-gen-go@$(protobufVersion)
|
||||||
go install github.com/envoyproxy/protoc-gen-validate@v1.1.0
|
go install github.com/envoyproxy/protoc-gen-validate@$(protobufValidateVersion)
|
||||||
go install github.com/bufbuild/buf/cmd/buf@v1.45.0
|
go install github.com/bufbuild/buf/cmd/buf@$(bufVersion)
|
||||||
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.61.0
|
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin $(golangCiLintVersion)
|
||||||
condition: succeeded()
|
condition: succeeded()
|
||||||
displayName: Install build dependencies
|
displayName: Install build dependencies
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue