File tree Expand file tree Collapse file tree 2 files changed +8
-5
lines changed Expand file tree Collapse file tree 2 files changed +8
-5
lines changed Original file line number Diff line number Diff line change 1111 name : lint
1212 runs-on : ubuntu-latest
1313 steps :
14- - uses : actions/checkout@v2
14+ - uses : actions/setup-go@v3
15+ with :
16+ go-version : 1.19
17+ - uses : actions/checkout@v3
1518 - name : golangci-lint
16- uses : golangci/golangci-lint-action@v2
19+ uses : golangci/golangci-lint-action@v3
1720 with :
18- version : v1.45
21+ version : v1.50.1
1922 args : --timeout=5m
Original file line number Diff line number Diff line change 1- FROM --platform=$BUILDPLATFORM golang:1.17 as builder
1+ FROM --platform=$BUILDPLATFORM golang:1.19 as builder
22ARG TARGETPLATFORM
33WORKDIR /go/src/github.com/atlassian/escalator/
44COPY go.mod go.sum Makefile ./
55COPY cmd cmd
66COPY pkg pkg
77RUN make build
88
9- FROM alpine:latest
9+ FROM alpine:3.16
1010RUN apk --no-cache add ca-certificates
1111COPY --from=builder /go/src/github.com/atlassian/escalator/escalator ./main
1212CMD [ "./main" ]
You can’t perform that action at this time.
0 commit comments