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 }}