Skip to content

Commit

Permalink
!chore(deps): set golang 1.21 minimum version
Browse files Browse the repository at this point in the history
drop ci teting of golang 1.20

BREAKING CHANGE
  • Loading branch information
YOU54F committed Jul 25, 2024
1 parent c629e06 commit d7d6590
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/golangci-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
matrix:
go-version: [
# 1.19.x, # Ended 06 Sep 2023
1.20.x, # Ended 06 Feb 2024
# 1.20.x, # Ended 06 Feb 2024
1.21.x,
1.22.x,
]
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
# 1.17.x, # Ended 02 Aug 2022
# 1.18.x, # Ended 01 Feb 2023
# 1.19.x, # Ended 06 Sep 2023
1.20.x, # Ended 06 Feb 2024
# 1.20.x, # Ended 06 Feb 2024
1.21.x,
1.22.x,
]
Expand Down Expand Up @@ -65,12 +65,14 @@ jobs:
strategy:
fail-fast: false
matrix:
go-version: ["1.20", "1.21", "1.22"]
go-version: ["1.21", "1.22"]
steps:
- uses: actions/checkout@v4

- name: Test dockerfile
run: make docker_test_all
env:
GO_VERSION: ${{ matrix.go-version }}

finish:
needs: [test,test-containers]
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/pact-foundation/pact-go/v2

go 1.20
go 1.21

require (
github.com/golang/protobuf v1.5.4
Expand Down
1 change: 1 addition & 0 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ github.com/golang/snappy v0.0.1/go.mod h1:/XxbfmMg8lxefKM7IXC3fBNl/7bRcc72aCRzEW
github.com/golang/snappy v0.0.4 h1:yAGX7huGHXlcLOEtBnF4w7FQwA26wojNCwOYAEhLjQM=
github.com/golang/snappy v0.0.4/go.mod h1:/XxbfmMg8lxefKM7IXC3fBNl/7bRcc72aCRzEWrmP2Q=
github.com/google/go-cmp v0.6.0 h1:ofyhxvXcZhMsU5ulbFiLKl/XBFqE1GSq7atu8tAmTRI=
github.com/google/go-cmp v0.6.0/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY=
github.com/hashicorp/go-version v1.7.0 h1:5tqGy27NaOTB8yJKUZELlFAS/LTKJkrmONwQKeRZfjY=
github.com/hashicorp/go-version v1.7.0/go.mod h1:fltr4n8CU8Ke44wwGCBoEymUuxUHl09ZGVZPK5anwXA=
github.com/hashicorp/logutils v1.0.0 h1:dLEQVugN8vlakKOUE3ihGLTZJRB4j+M2cdTm/ORI65Y=
Expand Down

0 comments on commit d7d6590

Please sign in to comment.