File tree Expand file tree Collapse file tree
templates/github/workflows Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ import _ "github.com/bool64/dev" // Include development helpers to project.
2626Add ` Makefile ` to your module with includes standard targets.
2727
2828``` 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.
3030
3131# The head of Makefile determines location of dev-go to include standard targets.
3232GO ?= 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.
22
33# The head of Makefile determines location of dev-go to include standard targets.
44GO ?= go
Original file line number Diff line number Diff line change 11#! /usr/bin/env bash
22
33[ -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 "
55
66# detecting GOPATH and removing trailing "/" if any
77GOPATH=" $( go env GOPATH) "
Original file line number Diff line number Diff line change 2727 uses : golangci/golangci-lint-action@v3.7.0
2828 with :
2929 # 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
3131
3232 # Optional: working directory, useful for monorepos
3333 # working-directory: somedir
Original file line number Diff line number Diff line change 8585 id : annotate
8686 if : github.event.pull_request.base.sha != ''
8787 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
8989 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)
9191 git fetch origin master ${{ github.event.pull_request.base.sha }}
9292 REP=$(./gocovdiff -cov integration.coverprofile -gha-annotations gha-integration.txt -delta-cov-file delta-cov-integration.txt -target-delta-cov ${TARGET_DELTA_COV})
9393 echo "${REP}"
Original file line number Diff line number Diff line change 8888 id : annotate
8989 if : matrix.go-version == env.COV_GO_VERSION && github.event.pull_request.base.sha != ''
9090 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
9292 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)
9494 git fetch origin master ${{ github.event.pull_request.base.sha }}
9595 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})
9696 echo "${REP}"
You can’t perform that action at this time.
0 commit comments