Skip to content

chore: migrate hugo setup to composite action (#270) #190

chore: migrate hugo setup to composite action (#270)

chore: migrate hugo setup to composite action (#270) #190

Workflow file for this run

name: Build
on:
push:
branches:
- master
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/master'
uses: goreleaser/goreleaser-action@v6
with:
distribution: goreleaser
version: latest
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}