Skip to content

Keeping checkout and release in the same phase is important #6

Keeping checkout and release in the same phase is important

Keeping checkout and release in the same phase is important #6

Workflow file for this run

# This workflow will build a golang project
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-go
name: Go
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-tags: 1
- name: Release with goreleaser
uses: goreleaser/[email protected]
env:
GITHUB_TOKEN: ${{ github.token }}
with:
version: latest
args: release --clean