on: pull_request: paths-ignore: - 'README.md' - 'CONTRIBUTING.md' - 'COPYING' - 'docs/**' - '.github/*.md' - '.github/FUNDING.yml' name: Build Code jobs: build: runs-on: ubuntu-latest steps: - name: Install Go uses: actions/setup-go@v2 with: go-version: 1.17 - name: Checkout code uses: actions/checkout@v2 - name: Run GoReleaser uses: goreleaser/goreleaser-action@v2 with: distribution: goreleaser version: latest args: build --rm-dist --snapshot workdir: src