Skip to content

ci: prefer go-version-file option for actions/setup-go (#653) #674

ci: prefer go-version-file option for actions/setup-go (#653)

ci: prefer go-version-file option for actions/setup-go (#653) #674

Workflow file for this run

name: Build
on:
push:
branches: [main]
pull_request:
jobs:
build:
runs-on: macos-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version-file: go.mod
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v5
with:
version: latest
args: release --clean --snapshot --skip=sign
- uses: actions/upload-artifact@v4
with:
name: Preview Binaries
path: dist/hcloud-*/hcloud