From eef8bc78aabecbb648e8d96cdd2e44fc64e2cd6a Mon Sep 17 00:00:00 2001 From: sbansla Date: Tue, 6 Aug 2024 15:10:20 +0530 Subject: [PATCH 1/2] chore: fixed failed test cases due to go upgrade --- .github/workflows/test-and-deploy.yml | 5 +++++ Dockerfile | 2 +- LICENSE | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test-and-deploy.yml b/.github/workflows/test-and-deploy.yml index f447a23c..da0a2bc2 100644 --- a/.github/workflows/test-and-deploy.yml +++ b/.github/workflows/test-and-deploy.yml @@ -42,6 +42,11 @@ jobs: echo "GOBIN=$HOME/bin" >> $GITHUB_ENV echo "GO111MODULE=off" >> $GITHUB_ENV + - name: Install Docker Compose + run: | + sudo apt-get update + sudo apt-get install -y docker-compose + - name: Run Tests run: make test-docker diff --git a/Dockerfile b/Dockerfile index 09f21116..2cb883b6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -ARG version=latest +ARG version=1.21.11 FROM golang:$version ENV GO111MODULE 'off' diff --git a/LICENSE b/LICENSE index 3154774a..d703157e 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright (C) 2023, Twilio SendGrid, Inc. +Copyright (C) 2024, Twilio SendGrid, Inc. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in From c3f93b0b1eb806686e00906f79c8d6360d7f7f60 Mon Sep 17 00:00:00 2001 From: sbansla Date: Tue, 6 Aug 2024 15:36:10 +0530 Subject: [PATCH 2/2] corrected image name --- Dockerfile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 2cb883b6..5b17ca24 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,4 @@ -ARG version=1.21.11 -FROM golang:$version +FROM golang:1.21.11 ENV GO111MODULE 'off'