named-port bug fix and tests (#412) #20
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Publish to pkg.go.dev | |
on: | |
push: | |
tags: | |
- v*.** | |
permissions: | |
contents: read | |
jobs: | |
publish_on_pkg_go_dev: | |
name: publish a new version in pkg.go.dev | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out the repo | |
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 | |
- name: Set up Go | |
uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 | |
with: | |
go-version-file: ./go.mod | |
- name: Publish on pkg.go.dev | |
run: GOPROXY=proxy.golang.org go list -m github.com/np-guard/netpol-analyzer@${{ github.ref_name }} |