Skip to content

Commit

Permalink
Upgraded to go 1.20.
Browse files Browse the repository at this point in the history
This PR upgrades the Service Weaver module to go 1.20. We will no longer
support go 1.19 and earlier. This will let us use some nice go 1.20
features like error trees: https://tip.golang.org/doc/go1.20#errors.
  • Loading branch information
mwhittaker committed Apr 10, 2023
1 parent 2c48ca8 commit 190c069
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
strategy:
fail-fast: false
matrix:
version: ["1.19", "1.20"]
version: ["1.20"]
command: ["build", "vet", "lint", "test", "testrace"]
steps:
- name: Check out repository
Expand Down Expand Up @@ -57,7 +57,7 @@ jobs:
strategy:
fail-fast: false
matrix:
version: ["1.19", "1.20"]
version: ["1.20"]
steps:
- name: Check out repository
uses: actions/checkout@v3
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/ServiceWeaver/weaver

go 1.19
go 1.20

require (
github.com/BurntSushi/toml v1.2.0
Expand Down
2 changes: 1 addition & 1 deletion website/docs.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ section for a tutorial on how to write Service Weaver applications.

# Installation

Ensure you have [Go installed][go_install], version 1.19 or higher. Then, run
Ensure you have [Go installed][go_install], version 1.20 or higher. Then, run
the following to install the `weaver` command:

```console
Expand Down

0 comments on commit 190c069

Please sign in to comment.