Skip to content
This repository was archived by the owner on Jan 19, 2024. It is now read-only.

Commit 1353261

Browse files
chore: Update to Go 1.18 (#357)
Signed-off-by: Raphael Ludwig <[email protected]>
1 parent e247419 commit 1353261

File tree

5 files changed

+6
-19
lines changed

5 files changed

+6
-19
lines changed

.github/actions/unit-tests/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: "Unit Tests"
22
description: "Run unit tests using go"
33
inputs:
44
GO_VERSION:
5-
default: "1.17"
5+
default: "1.18"
66
env:
77
GO111MODULE: "on"
88
GOPROXY: "https://proxy.golang.org"

.github/workflows/integration-tests.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
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 }}

.github/workflows/reviewdog.yml

Lines changed: 2 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -8,18 +8,5 @@ jobs:
88
- name: Check out code.
99
uses: actions/[email protected]
1010

11-
- name: Set up Go
12-
uses: actions/[email protected]
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

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
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

66
RUN apk add --no-cache gcc libc-dev git
77

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module keptn-contrib/job-executor-service
22

3-
go 1.17
3+
go 1.18
44

55
require (
66
github.com/Masterminds/semver/v3 v3.1.1

0 commit comments

Comments
 (0)