Skip to content

[pull] main from labring:main #4

[pull] main from labring:main

[pull] main from labring:main #4

Workflow file for this run

name: Go for PR
on:
pull_request:
branches: [ main ]
jobs:
goreleaser:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@master
- name: Set up Go
uses: actions/setup-go@master
with:
go-version: 1.20.x
- name: Prepare
id: prepare
run: |
TAG=${GITHUB_REF#refs/tags/}
echo ::set-output name=tag_name::${TAG}
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v1
with:
version: latest
args: release --snapshot --rm-dist --timeout=1h
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
VERSION: latest