Skip to content

feat(cmd): wire hunks pipeline, mouse, and review diff loader #7

feat(cmd): wire hunks pipeline, mouse, and review diff loader

feat(cmd): wire hunks pipeline, mouse, and review diff loader #7

Workflow file for this run

name: release
# Triggered on pushing a vX.Y.Z tag.
#
# Required repository secrets:
# HOMEBREW_TAP_TOKEN - GitHub Personal Access Token with `repo` scope on
# the mrcat71/homebrew-tap repository
# (GITHUB_TOKEN is provided automatically by GitHub Actions and is enough
# for creating the Release in this repo.)
on:
push:
tags:
- "v*"
permissions:
contents: write # create the GitHub Release in this repo
jobs:
release:
name: goreleaser
runs-on: macos-latest # darwin builds run natively here; could be ubuntu-latest with CGO_ENABLED=0
steps:
- name: Check out
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
with:
fetch-depth: 0 # goreleaser needs full history for changelog
- name: Set up Go
uses: actions/setup-go@40f1582b2485089dde7abd97c1529aa768e1baff # v5
with:
go-version: "1.24"
check-latest: true
- name: Run goreleaser
uses: goreleaser/goreleaser-action@1a80836c5c9d9e5755a25cb59ec6f45a3b5f41a8 # v7
with:
distribution: goreleaser
version: latest
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
HOMEBREW_TAP_TOKEN: ${{ secrets.HOMEBREW_TAP_TOKEN }}