From b3c746f5a04eb25efac42db8f6f2ea632cf0983e Mon Sep 17 00:00:00 2001 From: Kevin Su Date: Mon, 6 May 2024 23:50:33 +0800 Subject: [PATCH] Upgrade setup-go (#5328) Signed-off-by: Kevin Su --- .github/workflows/generate_flyte_manifest.yml | 2 +- .github/workflows/go_generate.yml | 2 +- .github/workflows/integration.yml | 2 +- .github/workflows/lint.yml | 2 +- .github/workflows/single-binary.yml | 2 +- .github/workflows/tests.yml | 4 ++-- .github/workflows/unit-tests.yml | 2 +- flytectl/.github/workflows/checks.yml | 6 +++--- 8 files changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/workflows/generate_flyte_manifest.yml b/.github/workflows/generate_flyte_manifest.yml index 679f24bf63..33bbdca893 100644 --- a/.github/workflows/generate_flyte_manifest.yml +++ b/.github/workflows/generate_flyte_manifest.yml @@ -15,7 +15,7 @@ jobs: - uses: actions/checkout@v4 with: fetch-depth: "0" - - uses: actions/setup-go@v2 + - uses: actions/setup-go@v4 with: go-version: "1.21" - name: Update references diff --git a/.github/workflows/go_generate.yml b/.github/workflows/go_generate.yml index d3c992957a..bef6c6713b 100644 --- a/.github/workflows/go_generate.yml +++ b/.github/workflows/go_generate.yml @@ -27,7 +27,7 @@ jobs: - uses: bufbuild/buf-setup-action@v1 with: github_token: ${{ secrets.FLYTE_BOT_PAT }} - - uses: actions/setup-go@v3 + - uses: actions/setup-go@v4 with: go-version: ${{ inputs.go-version }} - name: Go generate and diff diff --git a/.github/workflows/integration.yml b/.github/workflows/integration.yml index 3d635a8680..4c1ecceadd 100644 --- a/.github/workflows/integration.yml +++ b/.github/workflows/integration.yml @@ -37,7 +37,7 @@ jobs: with: version: "v0.11.1" - name: Set up Go - uses: actions/setup-go@v3 + uses: actions/setup-go@v4 with: go-version: ${{ inputs.go-version }} - name: Integration diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index d7604cf1c2..4c58f87f4a 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -20,7 +20,7 @@ jobs: - name: Checkout uses: actions/checkout@v4 - name: Set up Go - uses: actions/setup-go@v3 + uses: actions/setup-go@v4 with: go-version: ${{ inputs.go-version }} - name: Lint diff --git a/.github/workflows/single-binary.yml b/.github/workflows/single-binary.yml index 657160a7a9..a932c20191 100644 --- a/.github/workflows/single-binary.yml +++ b/.github/workflows/single-binary.yml @@ -17,7 +17,7 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - uses: actions/setup-go@v3 + - uses: actions/setup-go@v4 with: go-version: "1.21" - name: golangci-lint diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 1a94a452be..3ec83f10e7 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -16,7 +16,7 @@ jobs: - name: Fetch the code uses: actions/checkout@v4 - name: Set up Go - uses: actions/setup-go@v2 + uses: actions/setup-go@v4 with: go-version: "1.21" - name: Compile @@ -75,7 +75,7 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - uses: actions/setup-go@v2 + - uses: actions/setup-go@v4 with: go-version: "1.21" - name: Helm and diff diff --git a/.github/workflows/unit-tests.yml b/.github/workflows/unit-tests.yml index 2c0add22e1..d3a20f3823 100644 --- a/.github/workflows/unit-tests.yml +++ b/.github/workflows/unit-tests.yml @@ -23,7 +23,7 @@ jobs: - name: Checkout uses: actions/checkout@v4 - name: Set up Go - uses: actions/setup-go@v3 + uses: actions/setup-go@v4 with: go-version: ${{ inputs.go-version }} - name: Unit Tests diff --git a/flytectl/.github/workflows/checks.yml b/flytectl/.github/workflows/checks.yml index 211a7aab5b..0be391bd3b 100644 --- a/flytectl/.github/workflows/checks.yml +++ b/flytectl/.github/workflows/checks.yml @@ -50,7 +50,7 @@ jobs: ~/.cache/go-build ~/go/pkg/mod key: ${{ runner.os }}-go-${{ hashFiles('go.sum') }} - - uses: actions/setup-go@v3 + - uses: actions/setup-go@v4 with: go-version: '1.19' - name: Run GoReleaser dry run @@ -73,7 +73,7 @@ jobs: ~/go/pkg/mod key: ${{ runner.os }}-go-${{ hashFiles('go.sum') }} - name: Set up Go - uses: actions/setup-go@v2 + uses: actions/setup-go@v4 with: go-version: 1.19 - name: Build Flytectl binary @@ -109,7 +109,7 @@ jobs: - uses: actions/checkout@v2 with: lfs: true - - uses: actions/setup-go@v1 + - uses: actions/setup-go@v4 with: go-version: '1.19' - uses: actions/setup-python@v1