Files
headscale/.github/workflows/release-check.yml
T
Kristoffer Dalby 963dcf353f .github: lock workflow actions
Generated: gh-actions-lock --migrate-local-actions.
2026-11-12 14:03:30 +01:00

36 lines
816 B
YAML

name: Release checks
on:
push:
branches:
- main
pull_request:
permissions:
contents: read
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
defaults:
run:
shell: nix develop --fallback --command bash -e {0}
jobs:
release-check:
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- uses: actions/checkout@v7.0.1
with:
fetch-depth: 0
- uses: NixOS/nix-installer-action@v1.0.0
- uses: Mic92/hestia@v3.1.0
- name: Validate release configuration
run: goreleaser check
- name: Test release guards
run: bash tools/release-check-test.sh
- name: Build and verify Headscale release binary
run: goreleaser build --snapshot --clean --single-target