security: pin all go install refs to commit SHAs
This commit is contained in:
parent
4023ef28a1
commit
6b592ee7b6
@ -13,9 +13,9 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
go-version-file: go.mod
|
go-version-file: go.mod
|
||||||
- name: Install golangci-lint
|
- name: Install golangci-lint
|
||||||
run: go install github.com/golangci/golangci-lint/cmd/golangci-lint@latest
|
run: go install github.com/golangci/golangci-lint/v2/cmd/golangci-lint@5d1e709b7be35cb2025444e19de266b056b7b7ee # v2.10.1
|
||||||
- name: Install protoc-gen-go
|
- name: Install protoc-gen-go
|
||||||
run: go install google.golang.org/protobuf/cmd/protoc-gen-go@v1.28.1
|
run: go install google.golang.org/protobuf/cmd/protoc-gen-go@4dfe9d308b477d29e8c2b6d75abf3e78aafe3cb8 # v1.28.1
|
||||||
- name: Generate protobuf
|
- name: Generate protobuf
|
||||||
run: |
|
run: |
|
||||||
sudo apt-get update && sudo apt-get install -y protobuf-compiler
|
sudo apt-get update && sudo apt-get install -y protobuf-compiler
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user