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

Commit

Permalink
chore: Update to Go 1.18 (#357)
Browse files Browse the repository at this point in the history
Signed-off-by: Raphael Ludwig <[email protected]>
  • Loading branch information
Raffy23 authored Sep 7, 2022
1 parent e247419 commit 1353261
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 19 deletions.
2 changes: 1 addition & 1 deletion .github/actions/unit-tests/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: "Unit Tests"
description: "Run unit tests using go"
inputs:
GO_VERSION:
default: "1.17"
default: "1.18"
env:
GO111MODULE: "on"
GOPROXY: "https://proxy.golang.org"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/integration-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
network-policy: [true, false]
job-network-policy: [true, false]
env:
GO_VERSION: 1.17
GO_VERSION: 1.18
GOPROXY: "https://proxy.golang.org"
GO111MODULE: "on"
BRANCH: ${{ github.head_ref || github.ref_name }}
Expand Down
17 changes: 2 additions & 15 deletions .github/workflows/reviewdog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,18 +8,5 @@ jobs:
- name: Check out code.
uses: actions/[email protected]

- name: Set up Go
uses: actions/[email protected]
with:
go-version-file: "go.mod"
id: go
- name: Install linters
run: "( mkdir linters && cd linters && go get golang.org/x/lint/golint )"
- uses: reviewdog/action-setup@v1
with:
reviewdog_version: latest
- name: Run reviewdog
env:
REVIEWDOG_GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
reviewdog -reporter=github-pr-review
- name: golangci-lint
uses: reviewdog/action-golangci-lint@v2
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Use the offical Golang image to create a build artifact.
# This is based on Debian and sets the GOPATH to /go.
# https://hub.docker.com/_/golang
FROM golang:1.17.5-alpine as builder
FROM golang:1.18.3-alpine as builder

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

Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module keptn-contrib/job-executor-service

go 1.17
go 1.18

require (
github.com/Masterminds/semver/v3 v3.1.1
Expand Down

0 comments on commit 1353261

Please sign in to comment.