From 4838e0d827a8011564dcb2576d45a3d6781bfca4 Mon Sep 17 00:00:00 2001 From: Alex Kubacki Date: Tue, 30 May 2023 12:16:11 -0600 Subject: [PATCH 1/2] Pin the version for code-scanning purposes. --- .github/workflows/release.yml | 2 +- .github/workflows/test.yml | 2 +- go.mod | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d37bfb6..052c0eb 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -12,7 +12,7 @@ jobs: - name: install golang uses: actions/setup-go@v2 with: - go-version: 1.20.x + go-version: 1.20.4 - name: checkout code uses: actions/checkout@v2 diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 8076376..219856b 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -12,7 +12,7 @@ jobs: strategy: matrix: - go-version: [1.19.x, 1.20.x] + go-version: [1.20.4] steps: - name: install golang diff --git a/go.mod b/go.mod index b9c384e..259ea3c 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/aptible/supercronic -go 1.20 +go 1.20.4 require ( github.com/evalphobia/logrus_sentry v0.8.2 From a48c7a9201cd65485b2939a6475e3368529b28d1 Mon Sep 17 00:00:00 2001 From: Alex Kubacki Date: Tue, 30 May 2023 12:19:39 -0600 Subject: [PATCH 2/2] Can't specify patch in minimum version. --- go.mod | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/go.mod b/go.mod index 259ea3c..b9c384e 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/aptible/supercronic -go 1.20.4 +go 1.20 require ( github.com/evalphobia/logrus_sentry v0.8.2