From ed84f19427d4450ea31c4d0af69a6388e7638bd9 Mon Sep 17 00:00:00 2001 From: nbari Date: Sun, 12 Mar 2023 06:27:43 +0100 Subject: [PATCH] bump github actions --- .github/workflows/build.yml | 30 +++++++++++++++--------------- .github/workflows/test.yml | 2 +- 2 files changed, 16 insertions(+), 16 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 8d0682d..d5ad4a8 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -17,19 +17,19 @@ jobs: - goarch: "386" goos: darwin steps: - - uses: actions/checkout@v2 - - name: set env - run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV - - name: Test - run: | - echo $RELEASE_VERSION - echo ${{ env.RELEASE_VERSION }} + - uses: actions/checkout@v2 + - name: set env + run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV + - name: Test + run: | + echo $RELEASE_VERSION + echo ${{ env.RELEASE_VERSION }} - - uses: actions/checkout@v2 - - uses: wangyoucao577/go-release-action@v1.18 - with: - github_token: ${{ secrets.GITHUB_TOKEN }} - goos: ${{ matrix.goos }} - goarch: ${{ matrix.goarch }} - binary_name: www - ldflags: -s -w -X main.version=${{ env.RELEASE_VERSION }} + - uses: actions/checkout@v3.3.0 + - uses: wangyoucao577/go-release-action@v1.36 + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + goos: ${{ matrix.goos }} + goarch: ${{ matrix.goarch }} + binary_name: www + ldflags: -s -w -X main.version=${{ env.RELEASE_VERSION }} diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 35c611b..3f2983c 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -6,7 +6,7 @@ jobs: test: strategy: matrix: - go-version: [1.15.x, 1.16.x] + go-version: [1.20.x, 1.19.x] os: [ubuntu-latest, macos-latest] runs-on: ${{ matrix.os }} steps: