Skip to content

Commit

Permalink
Revert "Update to go 1.19"
Browse files Browse the repository at this point in the history
This reverts commit 7a5a75f.

golangci-lint needs to be build with go 1.19
see golangci/golangci-lint-action#442 (comment)
  • Loading branch information
SuperSandro2000 committed Aug 3, 2022
1 parent 7a5a75f commit 5752294
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .github/renovate.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"SuperSandro2000"
],
"constraints": {
"go": "1.19"
"go": "1.18"
},
"postUpdateOptions": [
"gomodTidy",
Expand All @@ -20,7 +20,7 @@
"matchPackageNames": [
"golang"
],
"allowedVersions": "1.19.x"
"allowedVersions": "1.18.x"
},
{
"matchPackagePrefixes": [
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: "1.19"
go-version: "1.18"
- name: Make build
run: make build-all
lint:
Expand All @@ -41,7 +41,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: "1.19"
go-version: "1.18"
- name: Run golangci-lint
uses: golangci/golangci-lint-action@v3
with:
Expand All @@ -57,7 +57,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: "1.19"
go-version: "1.18"
- name: Run tests and generate coverage report
run: make build/cover.out
- name: Upload coverage report to Coveralls
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/license.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: "1.19"
go-version: "1.18"
- name: Check if source code files have license header
run: |
shopt -s globstar
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 github.com/sapcc/go-makefile-maker

go 1.19
go 1.18

require (
github.com/sapcc/go-bits v0.0.0-20220801132244-1778c461b6c3
Expand Down
2 changes: 1 addition & 1 deletion internal/dockerfile/Dockerfile.template
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# renovate: datasource=docker depName=alpine versioning=docker
ARG ALPINE_VERSION=3.16
# renovate: datasource=docker depName=golang versioning=docker
ARG GOLANG_VERSION=1.19.0-alpine
ARG GOLANG_VERSION=1.18.4-alpine

0 comments on commit 5752294

Please sign in to comment.