Skip to content

Commit 4da2df9

Browse files
committed
Bump minimum Go version to 1.13
1.12 is now EOL for almost 2 years: https://endoflife.date/go. As a reference, supported Ubuntu versions use either 1.10 or 1.13: https://packages.ubuntu.com/search?keywords=golang-go So I think this bump is reasonable. This is done to get access to stdlib methods like errors.Is and formatting statement %w, which is de facto standard for handling errors nowadays. Closes coreos#391 Signed-off-by: Mateusz Gozdek <[email protected]>
1 parent f5a75de commit 4da2df9

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

.github/workflows/go.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ permissions:
1111

1212
env:
1313
# Minimum supported Go toolchain
14-
ACTION_MINIMUM_TOOLCHAIN: "1.12"
14+
ACTION_MINIMUM_TOOLCHAIN: "1.13"
1515

1616
jobs:
1717
build:

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# go-systemd
22

33
[![godoc](https://img.shields.io/badge/godoc-reference-5272B4)](https://pkg.go.dev/mod/github.com/coreos/go-systemd/v22/?tab=packages)
4-
![minimum golang 1.12](https://img.shields.io/badge/golang-1.12%2B-orange.svg)
4+
![minimum golang 1.13](https://img.shields.io/badge/golang-1.13%2B-orange.svg)
55

66

77
Go bindings to systemd. The project has several packages:

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
module github.com/coreos/go-systemd/v22
22

3-
go 1.12
3+
go 1.13
44

55
require github.com/godbus/dbus/v5 v5.0.4

0 commit comments

Comments
 (0)