Skip to content

Commit

Permalink
Try specific version of go for CI and revert some changes
Browse files Browse the repository at this point in the history
  • Loading branch information
redhug1 committed Jun 23, 2023
1 parent 7a6e013 commit 2c9edad
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion ci/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ image_resource:
type: docker-image
source:
repository: golang
tag: latest
tag: 1.19.2

inputs:
- name: dp-mongodb-in-memory
Expand Down
2 changes: 1 addition & 1 deletion ci/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ image_resource:
type: docker-image
source:
repository: golang
tag: latest
tag: 1.19.2

inputs:
- name: dp-mongodb-in-memory
Expand Down
3 changes: 2 additions & 1 deletion ci/unit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ image_resource:
type: docker-image
source:
repository: golang
tag: latest
tag: 1.19.2
# tag specific version to avoid: error while loading shared libraries: libcrypto.so.1.1 for later versions

inputs:
- name: dp-mongodb-in-memory
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/ONSdigital/dp-mongodb-in-memory

go 1.20
go 1.19

// to fix: [CVE-2023-32731] CWE-Other
replace google.golang.org/grpc => google.golang.org/grpc v1.55.0
Expand Down
2 changes: 1 addition & 1 deletion main_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import (
)

func TestStart_All(t *testing.T) {
versions := []string{"4.4.22", "5.0.2"}
versions := []string{"4.4.8", "5.0.2"}
testCtx := context.Background()

for _, version := range versions {
Expand Down

0 comments on commit 2c9edad

Please sign in to comment.