From efdbdcb0ced0421636ad9852301fcab75307e664 Mon Sep 17 00:00:00 2001 From: Fabien Chebel Date: Mon, 12 Feb 2024 20:23:16 +0100 Subject: [PATCH] Update Github action workflows (#30) --- .github/workflows/go.yml | 9 ++++----- .github/workflows/release.yml | 4 ++-- 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 3375d01..ad89e2f 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -12,16 +12,15 @@ jobs: name: Build runs-on: ubuntu-latest steps: + - name: Check out code into the Go module directory + uses: actions/checkout@v4 - name: Set up Go 1.x - uses: actions/setup-go@v2 + uses: actions/setup-go@v5 with: - go-version: ^1.14 + go-version: ^1.21 id: go - - name: Check out code into the Go module directory - uses: actions/checkout@v2 - - name: Get dependencies run: | go get -v -t -d ./... diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6ad3217..fc49be0 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -12,8 +12,8 @@ jobs: goos: [linux, darwin] goarch: [amd64, arm64] steps: - - uses: actions/checkout@v3 - - uses: wangyoucao577/go-release-action@v1.29 + - uses: actions/checkout@v4 + - uses: wangyoucao577/go-release-action@v1.46 with: github_token: ${{ secrets.GITHUB_TOKEN }} goos: ${{ matrix.goos }}