diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f640329c..589f0096 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -44,19 +44,13 @@ jobs: - # https://github.com/actions/setup-go name: Set up Go - uses: actions/setup-go@master + uses: actions/setup-go@v2 with: go-version: 1.13 - - - name: Set GOPATH - # temporary fix (see https://github.com/actions/setup-go/issues/14) - run: | - echo "##[set-env name=GOPATH;]$(dirname $GITHUB_WORKSPACE)" - echo "##[add-path]$(dirname $GITHUB_WORKSPACE)/bin" - # https://github.com/actions/checkout name: Checkout - uses: actions/checkout@v1 + uses: actions/checkout@v2 - # https://github.com/goreleaser/goreleaser-action name: GoReleaser @@ -122,12 +116,10 @@ jobs: # https://github.com/crazy-max/ghaction-docker-buildx name: Set up Docker Buildx uses: crazy-max/ghaction-docker-buildx@v1 - with: - version: latest - # https://github.com/actions/checkout name: Checkout - uses: actions/checkout@v1 + uses: actions/checkout@v2 - name: Docker Buildx (build) run: | diff --git a/.github/workflows/gosum.yml b/.github/workflows/gosum.yml index b8ccf440..6af82a62 100644 --- a/.github/workflows/gosum.yml +++ b/.github/workflows/gosum.yml @@ -16,11 +16,13 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v1 + uses: actions/checkout@v2 - - # https://github.com/actions/checkout/issues/6 - name: Fix detached HEAD - run: git checkout ${GITHUB_REF#refs/heads/} + # https://github.com/actions/setup-go + name: Set up Go + uses: actions/setup-go@v2 + with: + go-version: 1.13 - name: Tidy run: | diff --git a/.github/workflows/labels.yml b/.github/workflows/labels.yml index dd984b61..9aa092e3 100644 --- a/.github/workflows/labels.yml +++ b/.github/workflows/labels.yml @@ -15,11 +15,11 @@ jobs: - # https://github.com/actions/checkout name: Checkout - uses: actions/checkout@v1 + uses: actions/checkout@v2 - # https://github.com/crazy-max/ghaction-github-labeler name: Run Labeler if: success() - uses: crazy-max/ghaction-github-labeler@v1 + uses: crazy-max/ghaction-github-labeler@v2 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}