From c004469746c4a89a32ebadac162cfd868203bcc2 Mon Sep 17 00:00:00 2001 From: "Bo-Yi.Wu" Date: Mon, 27 Mar 2023 22:02:48 +0800 Subject: [PATCH] ci: upgrade setup-go action and remove release binary action - Remove release binary github action - Upgrade setup-go action from v3 to v4 in docker, goreleaser, and lint github actions Signed-off-by: Bo-Yi.Wu --- .github/workflows/binary.yml | 24 ------------------------ .github/workflows/docker.yml | 2 +- .github/workflows/goreleaser.yml | 2 +- .github/workflows/lint.yml | 2 +- 4 files changed, 3 insertions(+), 27 deletions(-) delete mode 100644 .github/workflows/binary.yml diff --git a/.github/workflows/binary.yml b/.github/workflows/binary.yml deleted file mode 100644 index 8a04145..0000000 --- a/.github/workflows/binary.yml +++ /dev/null @@ -1,24 +0,0 @@ -name: Release Binary - -on: - push: - branches: - - master - tags: - - 'v*' - -jobs: - build: - runs-on: ubuntu-latest - container: techknowlogick/xgo:go-1.19.x - steps: - - - name: Checkout repository - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - # - name: Release binary - # run: | - # ls -al - # make release diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index f9e3532..aef1471 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -15,7 +15,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Setup go - uses: actions/setup-go@v3 + uses: actions/setup-go@v4 with: go-version: '^1' - name: Checkout repository diff --git a/.github/workflows/goreleaser.yml b/.github/workflows/goreleaser.yml index d6be714..565c382 100644 --- a/.github/workflows/goreleaser.yml +++ b/.github/workflows/goreleaser.yml @@ -19,7 +19,7 @@ jobs: fetch-depth: 0 - name: Setup go - uses: actions/setup-go@v3 + uses: actions/setup-go@v4 with: go-version: '^1' diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index dfda69a..094abf6 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -9,7 +9,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Setup go - uses: actions/setup-go@v3 + uses: actions/setup-go@v4 with: go-version: '^1' - name: Checkout repository