diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index e5eb5e0..997b160 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -2,9 +2,9 @@ name: Go test on: push: - branches: [ main ] + branches: [main] pull_request: - branches: [ main ] + branches: [main] jobs: build: @@ -12,15 +12,15 @@ jobs: GO111MODULE: auto runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - - name: Set up Go - uses: actions/setup-go@v2 - with: - go-version: 1.19 + - name: Set up Go + uses: actions/setup-go@v5 + with: + go-version: "1.23" - - name: Build - run: go build + - name: Build + run: go build - - name: Test - run: go test -v . + - name: Test + run: go test -v . diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 89da45c..611d1a3 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -18,12 +18,12 @@ jobs: - goarch: arm64 goos: windows steps: - - uses: actions/checkout@v3 - - uses: wangyoucao577/go-release-action@v1.42 - with: - github_token: ${{ secrets.GITHUB_TOKEN }} - goos: ${{ matrix.goos }} - goarch: ${{ matrix.goarch }} - sha256sum: true - md5sum: false - extra_files: COPYING + - uses: actions/checkout@v4 + - uses: wangyoucao577/go-release-action@v1 + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + goos: ${{ matrix.goos }} + goarch: ${{ matrix.goarch }} + sha256sum: true + md5sum: false + extra_files: COPYING