From fc84da314c1c14282723c12ee7bf9335fd73a535 Mon Sep 17 00:00:00 2001 From: Will Vedder Date: Thu, 8 Dec 2022 15:55:47 -0500 Subject: [PATCH 1/2] Updating go version in GH actions to 1.19.4 --- .github/workflows/go.yml | 9 ++++++--- .github/workflows/release.yml | 5 ++++- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 0b6b9cfeb..a2948bccd 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -2,6 +2,9 @@ name: Go on: [push, pull_request] +env: + GO_VERSION: 1.19.4 + concurrency: group: one-at-time cancel-in-progress: false @@ -18,7 +21,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v3 with: - go-version: 1.19.3 + go-version: $GO_VERSION - name: Check out the code uses: actions/checkout@v3 @@ -45,7 +48,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v3 with: - go-version: 1.19.3 + go-version: $GO_VERSION - name: Check out the code uses: actions/checkout@v3 @@ -70,7 +73,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v3 with: - go-version: 1.19.3 + go-version: $GO_VERSION - name: Check out the code uses: actions/checkout@v3 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 69b85de47..ca564c89e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -4,6 +4,9 @@ on: pull_request: push: +env: + GO_VERSION: 1.19.4 + jobs: goreleaser: runs-on: ubuntu-latest @@ -20,7 +23,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v3 with: - go-version: 1.19.3 + go-version: $GO_VERSION - name: Run GoReleaser uses: goreleaser/goreleaser-action@v3 From f7bd46aae1453a4b13cedd9fb5a3ad30d8796ca7 Mon Sep 17 00:00:00 2001 From: Will Vedder Date: Thu, 8 Dec 2022 16:03:28 -0500 Subject: [PATCH 2/2] Seeing if bracket syntax works --- .github/workflows/go.yml | 6 +++--- .github/workflows/release.yml | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index a2948bccd..4674cfb65 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -21,7 +21,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v3 with: - go-version: $GO_VERSION + go-version: ${{env.GO_VERSION}} - name: Check out the code uses: actions/checkout@v3 @@ -48,7 +48,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v3 with: - go-version: $GO_VERSION + go-version: ${{env.GO_VERSION}} - name: Check out the code uses: actions/checkout@v3 @@ -73,7 +73,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v3 with: - go-version: $GO_VERSION + go-version: ${{env.GO_VERSION}} - name: Check out the code uses: actions/checkout@v3 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ca564c89e..ad906263c 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -23,7 +23,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v3 with: - go-version: $GO_VERSION + go-version: ${{env.GO_VERSION}} - name: Run GoReleaser uses: goreleaser/goreleaser-action@v3