From 9dc0031c73d9b870ab3310af46095c1b4c59d286 Mon Sep 17 00:00:00 2001 From: Michael Adler Date: Wed, 23 Aug 2023 10:29:53 +0200 Subject: [PATCH] chore!: require at least Go version 1.19 According to the Go support policy, major releases are maintained until two subsequent major versions are released. Although Go 1.19 has technically reached its end-of-life, it's worth noting that Debian Bookworm currently only ships Go 1.19. As wfx remains unaffected by this version, we're retaining compatibility for the time being. Signed-off-by: Michael Adler --- .github/workflows/ci.yml | 2 +- .golangci.yml | 2 +- docs/installation.md | 2 +- go.mod | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f17b96d8..5bab6bed 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -13,7 +13,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - go: ["stable", "1.18"] + go: ["stable", "1.19"] name: Build (Go ${{ matrix.go }}) steps: - uses: actions/checkout@v3 diff --git a/.golangci.yml b/.golangci.yml index 129bfdd9..32e8ae8c 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -90,7 +90,7 @@ linters: linters-settings: staticcheck: - go: "1.18" + go: "1.19" # https://staticcheck.io/docs/options#checks checks: ["all", "-ST1000", "-SA1019"] misspell: diff --git a/docs/installation.md b/docs/installation.md index 04098592..f6deb122 100644 --- a/docs/installation.md +++ b/docs/installation.md @@ -18,7 +18,7 @@ necessary. ## Building wfx -A recent [Go compiler](https://go.dev/) >= 1.18 as well as [GNU make](https://www.gnu.org/software/make/) wrapping the `go build` commands is required to build wfx and its associated tools. +A recent [Go compiler](https://go.dev/) >= 1.19 as well as [GNU make](https://www.gnu.org/software/make/) wrapping the `go build` commands is required to build wfx and its associated tools. wfx requires a persistent storage to save workflows and jobs. Go [Build Tags](https://pkg.go.dev/go/build) are used to select compiled-in support for different persistent storage options. diff --git a/go.mod b/go.mod index 71e05723..de92bbe9 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/siemens/wfx -go 1.18 +go 1.19 require ( entgo.io/ent v0.12.3