diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index 9da4868f..1f33a280 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -13,12 +13,14 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - go: [ '1.14.4', '1.13.12' ] + go: [ '1.14.x', '1.13.x' ] name: Go ${{ matrix.go }} build steps: - - uses: actions/checkout@v2 + - name: checkout + uses: actions/checkout@v2 + - name: Setup go - uses: actions/setup-go@v1 + uses: actions/setup-go@v2 with: go-version: ${{ matrix.go }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 9f926bed..de9f8398 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -9,14 +9,14 @@ jobs: build: runs-on: ubuntu-latest steps: + - name: checkout + uses: actions/checkout@v2 + - name: install go - uses: actions/setup-go@v1 + uses: actions/setup-go@v2 with: go-version: 1.14.x - - name: checkout - uses: actions/checkout@v1 - - name: get version id: v run: echo ::set-output name=tag::$( awk -F '/' '{print $NF}' <<< "${GITHUB_REF}" )