File tree Expand file tree Collapse file tree 6 files changed +8
-8
lines changed
templates/github/workflows Expand file tree Collapse file tree 6 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ import _ "github.com/bool64/dev" // Include development helpers to project.
26
26
Add ` Makefile ` to your module with includes standard targets.
27
27
28
28
``` Makefile
29
- # GOLANGCI_LINT_VERSION := "v1.54.1 " # Optional configuration to pinpoint golangci-lint version.
29
+ # GOLANGCI_LINT_VERSION := "v1.55.2 " # Optional configuration to pinpoint golangci-lint version.
30
30
31
31
# The head of Makefile determines location of dev-go to include standard targets.
32
32
GO ?= go
Original file line number Diff line number Diff line change 1
- # GOLANGCI_LINT_VERSION := "v1.54.1 " # Optional configuration to pinpoint golangci-lint version.
1
+ # GOLANGCI_LINT_VERSION := "v1.55.2 " # Optional configuration to pinpoint golangci-lint version.
2
2
3
3
# The head of Makefile determines location of dev-go to include standard targets.
4
4
GO ?= go
Original file line number Diff line number Diff line change 1
1
#! /usr/bin/env bash
2
2
3
3
[ -z " $GO " ] && GO=go
4
- [ -z " $GOLANGCI_LINT_VERSION " ] && GOLANGCI_LINT_VERSION=" v1.54.1 "
4
+ [ -z " $GOLANGCI_LINT_VERSION " ] && GOLANGCI_LINT_VERSION=" v1.55.2 "
5
5
6
6
# detecting GOPATH and removing trailing "/" if any
7
7
GOPATH=" $( go env GOPATH) "
Original file line number Diff line number Diff line change 27
27
28
28
with :
29
29
# Required: the version of golangci-lint is required and must be specified without patch version: we always use the latest patch version.
30
- version : v1.54.1
30
+ version : v1.55.2
31
31
32
32
# Optional: working directory, useful for monorepos
33
33
# working-directory: somedir
Original file line number Diff line number Diff line change 85
85
id : annotate
86
86
if : github.event.pull_request.base.sha != ''
87
87
run : |
88
- curl -sLO https://github.com/vearutop/gocovdiff/releases/download/v1.4.0 /linux_amd64.tar.gz && tar xf linux_amd64.tar.gz
88
+ curl -sLO https://github.com/vearutop/gocovdiff/releases/download/v1.4.2 /linux_amd64.tar.gz && tar xf linux_amd64.tar.gz && rm linux_amd64.tar.gz
89
89
gocovdiff_hash=$(git hash-object ./gocovdiff)
90
- [ "$gocovdiff_hash" == "8e507e0d671d4d6dfb3612309b72b163492f28eb " ] || (echo "::error::unexpected hash for gocovdiff, possible tampering: $gocovdiff_hash" && exit 1)
90
+ [ "$gocovdiff_hash" == "c37862c73a677e5a9c069470287823ab5bbf0244 " ] || (echo "::error::unexpected hash for gocovdiff, possible tampering: $gocovdiff_hash" && exit 1)
91
91
git fetch origin master ${{ github.event.pull_request.base.sha }}
92
92
REP=$(./gocovdiff -cov integration.coverprofile -gha-annotations gha-integration.txt -delta-cov-file delta-cov-integration.txt -target-delta-cov ${TARGET_DELTA_COV})
93
93
echo "${REP}"
Original file line number Diff line number Diff line change 88
88
id : annotate
89
89
if : matrix.go-version == env.COV_GO_VERSION && github.event.pull_request.base.sha != ''
90
90
run : |
91
- curl -sLO https://github.com/vearutop/gocovdiff/releases/download/v1.4.0 /linux_amd64.tar.gz && tar xf linux_amd64.tar.gz && rm linux_amd64.tar.gz
91
+ curl -sLO https://github.com/vearutop/gocovdiff/releases/download/v1.4.2 /linux_amd64.tar.gz && tar xf linux_amd64.tar.gz && rm linux_amd64.tar.gz
92
92
gocovdiff_hash=$(git hash-object ./gocovdiff)
93
- [ "$gocovdiff_hash" == "f191b45548bb65ec2c7d88909679a57116ff1ba1 " ] || (echo "::error::unexpected hash for gocovdiff, possible tampering: $gocovdiff_hash" && exit 1)
93
+ [ "$gocovdiff_hash" == "c37862c73a677e5a9c069470287823ab5bbf0244 " ] || (echo "::error::unexpected hash for gocovdiff, possible tampering: $gocovdiff_hash" && exit 1)
94
94
git fetch origin master ${{ github.event.pull_request.base.sha }}
95
95
REP=$(./gocovdiff -mod github.com/$GITHUB_REPOSITORY -cov unit.coverprofile -gha-annotations gha-unit.txt -delta-cov-file delta-cov-unit.txt -target-delta-cov ${TARGET_DELTA_COV})
96
96
echo "${REP}"
You can’t perform that action at this time.
0 commit comments