Upgrade to go1.22 and add goreleaser job checker #2
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 |