Skip to content

refactor(main): default logger #124

refactor(main): default logger

refactor(main): default logger #124

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