File tree Expand file tree Collapse file tree 3 files changed +16
-13
lines changed Expand file tree Collapse file tree 3 files changed +16
-13
lines changed Original file line number Diff line number Diff line change @@ -27,10 +27,10 @@ jobs:
2727 runs-on : ubuntu-latest
2828 steps :
2929 - name : git checkout
30- uses : actions/checkout@v2
30+ uses : actions/checkout@v3
3131
3232 - name : go cache
33- uses : actions/cache@v1
33+ uses : actions/cache@v3
3434 with :
3535 path : /home/runner/work/go
3636 key : lnc-${{ runner.os }}-go-${{ env.GO_VERSION }}-${{ github.job }}-${{ hashFiles('**/go.sum') }}
@@ -68,13 +68,12 @@ jobs:
6868 runs-on : ubuntu-latest
6969 steps :
7070 - name : git checkout
71- uses : actions/checkout@v2
72-
73- - name : Fetch all history for linter
74- run : git fetch --prune --unshallow
71+ uses : actions/checkout@v3
72+ with :
73+ fetch-depth : 0
7574
7675 - name : go cache
77- uses : actions/cache@v1
76+ uses : actions/cache@v3
7877 with :
7978 path : /home/runner/work/go
8079 key : lnc-${{ runner.os }}-go-${{ env.GO_VERSION }}-${{ github.job }}-${{ hashFiles('**/go.sum') }}
@@ -107,10 +106,10 @@ jobs:
107106 - unit-race
108107 steps :
109108 - name : git checkout
110- uses : actions/checkout@v2
109+ uses : actions/checkout@v3
111110
112111 - name : go cache
113- uses : actions/cache@v1
112+ uses : actions/cache@v3
114113 with :
115114 path : /home/runner/work/go
116115 key : lnc-${{ runner.os }}-go-${{ env.GO_VERSION }}-${{ github.job }}-${{ hashFiles('**/go.sum') }}
@@ -136,10 +135,10 @@ jobs:
136135 runs-on : ubuntu-latest
137136 steps :
138137 - name : git checkout
139- uses : actions/checkout@v2
138+ uses : actions/checkout@v3
140139
141140 - name : go cache
142- uses : actions/cache@v1
141+ uses : actions/cache@v3
143142 with :
144143 path : /home/runner/work/go
145144 key : lnc-${{ runner.os }}-go-${{ env.GO_VERSION }}-${{ github.job }}-${{ hashFiles('**/go.sum') }}
Original file line number Diff line number Diff line change @@ -41,3 +41,7 @@ linters:
4141
4242 # Gosec is outdated and reports false positives.
4343 - gosec
44+
45+ issues :
46+ # Only show newly introduced problems.
47+ new-from-rev : 4008b92d81d4d62e663025c5f79ebe44b53f283c
Original file line number Diff line number Diff line change 1- #Get golang 1.19.2-buster as a base image
2- FROM golang:1.19.2-buster as builder
1+ #Get golang 1.19 as a base image
2+ FROM golang:1.19 as builder
33
44#Define the working directory in the container
55WORKDIR /app
You can’t perform that action at this time.
0 commit comments