Skip to content

feat: tweak modpublish tag validation #7

feat: tweak modpublish tag validation

feat: tweak modpublish tag validation #7

Workflow file for this run

name: Snapshot
on:
push:
tags:
- v*
permissions:
contents: write
concurrency: snapshot
jobs:
snapshot:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup go
uses: actions/setup-go@v5
with:
cache: false
go-version: 1.23.2
- name: Set common go env vars
run: |-
go env -w GOTOOLCHAIN=local
# Dump env for good measure
go env
- name: Install CUE
run: go install ./cmd/cue
- name: Install GoReleaser
uses: goreleaser/goreleaser-action@v5
with:
install-only: true
version: v2.3.2
- name: Run GoReleaser with CUE
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
export CUE_CONFIG_DIR=$(mktemp -d)
cue cmd release
working-directory: ./internal/ci/goreleaser