From c7b120fb0fac4a26ad817a73e9f0c134ed6c6f8b Mon Sep 17 00:00:00 2001 From: sbansla <104902068+sbansla@users.noreply.github.com> Date: Thu, 8 Aug 2024 11:33:31 +0530 Subject: [PATCH] chore: fixed failed test cases due to go upgrade (#477) * chore: fixed failed test cases due to go 1.22 upgrade --- .github/workflows/test-and-deploy.yml | 5 +++++ Dockerfile | 3 +-- LICENSE | 2 +- 3 files changed, 7 insertions(+), 3 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..5b17ca24 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,4 @@ -ARG version=latest -FROM golang:$version +FROM golang:1.21.11 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