File tree Expand file tree Collapse file tree 9 files changed +12
-9
lines changed
templates/github/workflows Expand file tree Collapse file tree 9 files changed +12
-9
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.45.0 " # Optional configuration to pinpoint golangci-lint version.
29
+ # GOLANGCI_LINT_VERSION := "v1.45.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.45.0 " # Optional configuration to pinpoint golangci-lint version.
1
+ # GOLANGCI_LINT_VERSION := "v1.45.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.45.0 "
4
+ [ -z " $GOLANGCI_LINT_VERSION " ] && GOLANGCI_LINT_VERSION=" v1.45.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 28
28
steps :
29
29
- name : Install Go stable
30
30
if : env.GO_VERSION != 'tip'
31
- uses : actions/setup-go@v2
31
+ uses : actions/setup-go@v3
32
32
with :
33
33
go-version : ${{ env.GO_VERSION }}
34
34
- name : Install Go tip
Original file line number Diff line number Diff line change @@ -19,12 +19,15 @@ jobs:
19
19
name : golangci-lint
20
20
runs-on : ubuntu-latest
21
21
steps :
22
+ - uses : actions/setup-go@v3
23
+ with :
24
+ go-version : 1.18.x
22
25
- uses : actions/checkout@v2
23
26
- name : golangci-lint
24
27
25
28
with :
26
29
# Required: the version of golangci-lint is required and must be specified without patch version: we always use the latest patch version.
27
- version : v1.45.0
30
+ version : v1.45.2
28
31
29
32
# Optional: working directory, useful for monorepos
30
33
# working-directory: somedir
Original file line number Diff line number Diff line change 16
16
steps :
17
17
- name : Install Go stable
18
18
if : env.GO_VERSION != 'tip'
19
- uses : actions/setup-go@v2
19
+ uses : actions/setup-go@v3
20
20
with :
21
21
go-version : ${{ env.GO_VERSION }}
22
22
- name : Install Go tip
Original file line number Diff line number Diff line change 16
16
steps :
17
17
- name : Install Go stable
18
18
if : env.GO_VERSION != 'tip'
19
- uses : actions/setup-go@v2
19
+ uses : actions/setup-go@v3
20
20
with :
21
21
go-version : ${{ env.GO_VERSION }}
22
22
- name : Install Go tip
Original file line number Diff line number Diff line change 23
23
steps :
24
24
- name : Install Go stable
25
25
if : env.GO_VERSION != 'tip'
26
- uses : actions/setup-go@v2
26
+ uses : actions/setup-go@v3
27
27
with :
28
28
go-version : ${{ env.GO_VERSION }}
29
29
- name : Install Go tip
Original file line number Diff line number Diff line change 25
25
steps :
26
26
- name : Install Go stable
27
27
if : matrix.go-version != 'tip'
28
- uses : actions/setup-go@v2
28
+ uses : actions/setup-go@v3
29
29
with :
30
30
go-version : ${{ matrix.go-version }}
31
31
- name : Install Go tip
You can’t perform that action at this time.
0 commit comments