Skip to content

Upgrade to go1.22 and add goreleaser job checker #2

Upgrade to go1.22 and add goreleaser job checker

Upgrade to go1.22 and add goreleaser job checker #2

# Copyright 2024 Chainguard, Inc.
# SPDX-License-Identifier: Apache-2.0
name: check-goreleaser
on:
pull_request:
permissions: {}
jobs:
check-goreleaser:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@1d96c772d19495a3b5c517cd2bc0cb401ea0529f # v4.1.3
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@7ec5c2b0c6cdda6e8bbb49444bc797dd33d74dd8 # v5.0.0
with:
distribution: goreleaser
version: latest
args: release --clean --skip=sign --snapshot
- name: check binaries
run: |
./dist/bincapz_linux_amd64_v1/bincapz -h