Skip to content

Update go-git to v5 (#275) #197

Update go-git to v5 (#275)

Update go-git to v5 (#275) #197

Workflow file for this run

name: Build
on:
push:
branches:
- main
tags:
- "*"
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version-file: go.mod
- run: make test-all
- name: Run GoReleaser
if: github.ref != 'refs/heads/main'
uses: goreleaser/goreleaser-action@7ec5c2b0c6cdda6e8bbb49444bc797dd33d74dd8
with:
distribution: goreleaser
version: latest
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}