Skip to content

Commit

Permalink
Remove Go 1.11, 1.12 from CI; change lowest supported Go version to 1.13
Browse files Browse the repository at this point in the history
  • Loading branch information
fhackett committed Jul 30, 2021
1 parent f7e0673 commit 3ffccbf
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
strategy:
matrix:
java-version: ['8', '11', '12', '13', '14', '15', '16']
golang-version: ['1.11', '1.12', '1.13', '1.14', '1.15', '1.16']
golang-version: ['1.13', '1.14', '1.15', '1.16']

steps:
- uses: actions/checkout@v2
Expand Down
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -130,4 +130,6 @@ PGo's Go runtime library depends on:
For example, creating a modified map with one different key-value pair should take constant time, rather than copy the
entire existing structure.

PGo is tested using OpenJDK 1.8, 1.11 through 1.16, and Go 1.11 through 1.16.
PGo is tested using OpenJDK 1.8, 1.11 through 1.16, and Go 1.13 through 1.16.
Go >=1.13 is needed because of [changes to the errors package in that version](https://blog.golang.org/go1.13-errors),
and, otherwise, Go >=1.11 is needed due to the use of Go modules.
2 changes: 1 addition & 1 deletion distsys/go.mod
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module github.com/UBC-NSS/pgo/distsys

go 1.14
go 1.13

require github.com/benbjohnson/immutable v0.3.0
2 changes: 1 addition & 1 deletion test/files/general/ExprTests.tla.gotests/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module example.org/exprtests

go 1.14
go 1.13

replace github.com/UBC-NSS/pgo/distsys => ../../../../distsys

Expand Down
2 changes: 1 addition & 1 deletion test/files/general/dqueue.tla.gotests/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module example.org/dqueue

go 1.14
go 1.13

replace github.com/UBC-NSS/pgo/distsys => ../../../../distsys

Expand Down
2 changes: 1 addition & 1 deletion test/files/general/load_balancer.tla.gotests/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module example.org/load_balancer

go 1.14
go 1.13

replace github.com/UBC-NSS/pgo/distsys => ../../../../distsys

Expand Down
2 changes: 1 addition & 1 deletion test/files/general/replicated_kv.tla.gotests/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module example.org/replicated_kv

go 1.14
go 1.13

replace github.com/UBC-NSS/pgo/distsys => ../../../../distsys

Expand Down

0 comments on commit 3ffccbf

Please sign in to comment.