@@ -15,13 +15,13 @@ jobs:
15
15
runs-on : ubuntu-latest
16
16
steps :
17
17
- name : Git - checkout master
18
- uses : actions/checkout@v3
18
+ uses : actions/checkout@v4.2.2
19
19
with :
20
20
ref : ${{ inputs.main_branch }}
21
21
fetch-depth : 1
22
22
- name : Git - checkout current ref
23
- uses : actions/checkout@v3
24
- - uses : actions/cache@v3
23
+ uses : actions/checkout@v4.2.2
24
+ - uses : actions/cache@v4.1.2
25
25
with :
26
26
# In order:
27
27
# * Module download cache
43
43
curl 'https://raw.githubusercontent.com/TykTechnologies/github-actions/main/.github/workflows/.golangci.tmpl.yaml' -o .golangci.yaml
44
44
- name : Render template
45
45
id : render_template
46
- uses : chuhlomin/render-template@v1.7
46
+ uses : chuhlomin/render-template@v1.10
47
47
with :
48
48
template : .golangci.yaml
49
49
result_path : .golangci.yaml
68
68
git checkout $ref
69
69
fi
70
70
cp /tmp/.golangci.yaml .golangci.yaml
71
- - uses : actions/setup-go@v3
71
+ - uses : actions/setup-go@v5.1.0
72
72
with :
73
73
go-version : ${{ inputs.go }}
74
74
- name : Fetch modules
@@ -86,13 +86,13 @@ jobs:
86
86
run : |
87
87
$(go env GOPATH)/bin/golangci-lint run --verbose --out-format 'checkstyle:golangci_lint.xml' --timeout=300s --new=false --new-from-rev= ./...
88
88
89
- - uses : actions/upload-artifact@v3
89
+ - uses : actions/upload-artifact@v4.4.3
90
90
if : ${{ always() }}
91
91
with :
92
92
name : golangci-report
93
93
path : " *xml"
94
94
95
- - uses : reviewdog/action-setup@v1
95
+ - uses : reviewdog/action-setup@v1.3.0
96
96
if : ${{ always() }}
97
97
with :
98
98
reviewdog_version : latest # Optional. [latest,nightly,v.X.Y.Z]
0 commit comments