Skip to content

Commit

Permalink
chore!: require at least Go version 1.19
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
michaeladler committed Aug 23, 2023
1 parent 8dc9c7e commit 9dc0031
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion docs/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
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/siemens/wfx

go 1.18
go 1.19

require (
entgo.io/ent v0.12.3
Expand Down

0 comments on commit 9dc0031

Please sign in to comment.