# # https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-go # # https://github.com/goreleaser/goreleaser-action # name: Release Go package # on: [push] # jobs: # build: # runs-on: ubuntu-docker # strategy: # matrix: # go-version: [ '1.21' ] # steps: # - uses: actions/checkout@v4 # # - name: Setup Go ${{ matrix.go-version }} # # uses: actions/setup-go@v4 # # with: # # go-version: ${{ matrix.go-version }} # # # You can test your matrix by printing the current Go version # - name: Display Go version # run: go version # - name: Run GoReleaser # uses: goreleaser/goreleaser-action@master # with: # version: latest # args: release --rm-dist