This repository was archived by the owner on Jan 19, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 5 files changed +6
-19
lines changed Expand file tree Collapse file tree 5 files changed +6
-19
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ name: "Unit Tests"
22description : " Run unit tests using go"
33inputs :
44 GO_VERSION :
5- default : " 1.17 "
5+ default : " 1.18 "
66env :
77 GO111MODULE : " on"
88 GOPROXY : " https://proxy.golang.org"
Original file line number Diff line number Diff line change 3636 network-policy : [true, false]
3737 job-network-policy : [true, false]
3838 env :
39- GO_VERSION : 1.17
39+ GO_VERSION : 1.18
4040 GOPROXY : " https://proxy.golang.org"
4141 GO111MODULE : " on"
4242 BRANCH : ${{ github.head_ref || github.ref_name }}
Original file line number Diff line number Diff line change 88 - name : Check out code.
991010
11- - name : Set up Go
12- 13- with :
14- go-version-file : " go.mod"
15- id : go
16- - name : Install linters
17- run : " ( mkdir linters && cd linters && go get golang.org/x/lint/golint )"
18- - uses : reviewdog/action-setup@v1
19- with :
20- reviewdog_version : latest
21- - name : Run reviewdog
22- env :
23- REVIEWDOG_GITHUB_API_TOKEN : ${{ secrets.GITHUB_TOKEN }}
24- run : |
25- reviewdog -reporter=github-pr-review
11+ - name : golangci-lint
12+ uses : reviewdog/action-golangci-lint@v2
Original file line number Diff line number Diff line change 11# Use the offical Golang image to create a build artifact.
22# This is based on Debian and sets the GOPATH to /go.
33# https://hub.docker.com/_/golang
4- FROM golang:1.17.5 -alpine as builder
4+ FROM golang:1.18.3 -alpine as builder
55
66RUN apk add --no-cache gcc libc-dev git
77
Original file line number Diff line number Diff line change 11module keptn-contrib/job-executor-service
22
3- go 1.17
3+ go 1.18
44
55require (
66 github.com/Masterminds/semver/v3 v3.1.1
You can’t perform that action at this time.
0 commit comments