Repository: GoogleContainerTools/kpt
Pull request #3977 (2023-05-25 19:41:45)

update workflows to go 1.20.4
Follow up to https://github.com/GoogleContainerTools/kpt/pull/3974#discussion_r1204517484


Patch:
diff --git a/.github/workflows/checkLicenses.yml b/.github/workflows/checkLicenses.yml
index bfe36fec..374e040c 100644
--- a/.github/workflows/checkLicenses.yml
+++ b/.github/workflows/checkLicenses.yml
@@ -24,7 +24,7 @@ jobs:
       - name: Set up Go 1.20
         uses: actions/setup-go@v3
         with:
-          go-version: '1.20'
+          go-version: '>=1.20.4'
       - run: |
           ./scripts/create-licenses.sh
       # Upload the licenses list so it's available if needed
diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml
index 1b6d49e5..f53b89f9 100644
--- a/.github/workflows/go.yml
+++ b/.github/workflows/go.yml
@@ -48,7 +48,7 @@ jobs:
       - name: Set up Go 1.20
         uses: actions/setup-go@v3
         with:
-          go-version: '1.20'
+          go-version: '>=1.20.4'
         id: go
       - name: Check out code into the Go module directory
         uses: actions/checkout@v3
@@ -70,7 +70,7 @@ jobs:
       - name: Set up Go 1.20
         uses: actions/setup-go@v3
         with:
-          go-version: '1.20'
+          go-version: '>=1.20.4'
         id: go
       - name: Check out code into the Go module directory
         uses: actions/checkout@v3
@@ -88,7 +88,7 @@ jobs:
 #      - name: Set up Go 1.20
 #        uses: actions/setup-go@v1
 #        with:
-#          go-version: '1.20'
+#          go-version: '>=1.20.4'
 #        id: go
 #      - name: Check out code into the Go module directory
 #        uses: actions/checkout@v3
diff --git a/.github/workflows/porch.yml b/.github/workflows/porch.yml
index 1bf55649..14fcbf52 100644
--- a/.github/workflows/porch.yml
+++ b/.github/workflows/porch.yml
@@ -32,7 +32,7 @@ jobs:
       - name: Set up Go 1.20
         uses: actions/setup-go@v3
         with:
-          go-version: '1.20'
+          go-version: '>=1.20.4'
       - name: Run Porch Unit Tests
         uses: actions/checkout@v3
       - name: Verify format / headers etc
diff --git a/.github/workflows/verifyContent.yml b/.github/workflows/verifyContent.yml
index 341fa4db..da675cd6 100644
--- a/.github/workflows/verifyContent.yml
+++ b/.github/workflows/verifyContent.yml
@@ -30,7 +30,7 @@ jobs:
     steps:
       - uses: actions/setup-go@v3
         with:
-          go-version: '1.20'
+          go-version: '>=1.20.4'
       - uses: actions/checkout@v3
       - run: |
           make build


Test patch:
diff --git a/.github/workflows/e2eEnvironment.yml b/.github/workflows/e2eEnvironment.yml
index 4d490489..71df7cdb 100644
--- a/.github/workflows/e2eEnvironment.yml
+++ b/.github/workflows/e2eEnvironment.yml
@@ -34,7 +34,7 @@ jobs:
       - name: Set up Go
         uses: actions/setup-go@v3
         with:
-          go-version: '1.20'
+          go-version: '>=1.20.4'
       - uses: actions/checkout@v3
       # Pinned to Commit to ensure action is consistent: https://docs.github.com/en/actions/learn-github-actions/security-hardening-for-github-actions#using-third-party-actions
       # If you upgrade this version confirm the changes match your expectations
diff --git a/.github/workflows/live-e2e.yml b/.github/workflows/live-e2e.yml
index 430af7c8..f97e6242 100644
--- a/.github/workflows/live-e2e.yml
+++ b/.github/workflows/live-e2e.yml
@@ -33,7 +33,7 @@ jobs:
       - name: Set up Go
         uses: actions/setup-go@v3
         with:
-          go-version: '1.20'
+          go-version: '>=1.20.4'
       - uses: actions/checkout@master
       # Pinned to Commit to ensure action is consistent: https://docs.github.com/en/actions/learn-github-actions/security-hardening-for-github-actions#using-third-party-actions
       # If you upgrade this version confirm the changes match your expectations
diff --git a/.github/workflows/porch-e2e.yml b/.github/workflows/porch-e2e.yml
index c0362be2..10d0d2ef 100644
--- a/.github/workflows/porch-e2e.yml
+++ b/.github/workflows/porch-e2e.yml
@@ -56,7 +56,7 @@ jobs:
       - name: Set up Go 1.20
         uses: actions/setup-go@v3
         with:
-          go-version: '1.20'
+          go-version: '>=1.20.4'
       - name: Checkout Porch
         uses: actions/checkout@v3
       - name: Build kpt