release: v0.0.28 (#34) #2
Workflow file for this run
This file contains hidden or 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: GoReleaser | |
| on: | |
| push: | |
| tags: | |
| - 'v*' | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-go@v5 | |
| with: | |
| go-version-file: go.mod | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@v9.0.0 | |
| - run: go test -v ./... | |
| release: | |
| needs: test | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| # ARCHITECTURE: this maintained cross toolchain supplies the Linux and | |
| # macOS compilers required by Core's tree-sitter-backed project | |
| # inspection while preserving the GoReleaser artifact contract. | |
| - name: Run CGO-capable GoReleaser | |
| run: >- | |
| docker run --rm | |
| -e GITHUB_TOKEN | |
| -v "$GITHUB_WORKSPACE:/workspace" | |
| -w /workspace | |
| ghcr.io/goreleaser/goreleaser-cross:v1.26.4 | |
| release --clean | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GH_PAT }} |