Skip to content

Merge pull request #1 from TsekNet/dependabot/go_modules/google.golan… #23

Merge pull request #1 from TsekNet/dependabot/go_modules/google.golan…

Merge pull request #1 from TsekNet/dependabot/go_modules/google.golan… #23

Workflow file for this run

name: release
on:
push:
branches: [main]
tags: ['v*'] # Only create artifacts when there is a semantic-versioned release on GitHub (ex: v1.0.1)
pull_request:
branches: [main]
permissions:
contents: write
jobs:
goreleaser:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: 1.22.x
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v3
with:
distribution: goreleaser
version: latest
args: release --clean -f .goreleaser.yml
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}