Skip to content

feat(model): add pricing and examples commands (#73) #25

feat(model): add pricing and examples commands (#73)

feat(model): add pricing and examples commands (#73) #25

Workflow file for this run

name: Release
on:
push:
tags:
- "v*"
permissions:
contents: write
id-token: write
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-go@v5
with:
go-version-file: go.mod
- name: Run tests
run: go test ./...
- name: Generate a changelog
uses: orhun/git-cliff-action@v4
with:
config: cliff.toml
args: --latest --strip header --output CHANGELOG.md
- name: Install Cosign
uses: sigstore/cosign-installer@v4.1.0
- uses: goreleaser/goreleaser-action@v6
with:
version: "~> v2"
args: release --clean --release-notes=CHANGELOG.md
env:
GITHUB_TOKEN: ${{ secrets.GO_RELEASER_PAT }}