name: godev

on:
  push:
    tags:
      - 'v*'

jobs:
  update:
    runs-on: windows-latest
    steps:
      -
        name: Set up Go
        uses: actions/setup-go@v4
        with:
          go-version: 1.14
      -
        name: Call pkg.go.dev
        run: |
          go get github.com/${GITHUB_REPOSITORY}@${GITHUB_REF#refs/tags/}
        env:
          GO111MODULE: on
          GOPROXY: https://proxy.golang.org
        shell: bash
