Skip to content

enable optimizations by default #12

enable optimizations by default

enable optimizations by default #12

Workflow file for this run

name: kubehound-release
on:
push:
tags:
- "v*"
permissions:
contents: read
jobs:
goreleaser:
runs-on:
group: Large Runner Shared Public
labels: ubuntu-8-core-latest
permissions:
contents: write
steps:
- name: Harden Runner
uses: step-security/harden-runner@8ca2b8b2ece13480cda6dacd3511b49857a23c09
with:
egress-policy: block
allowed-endpoints: >
api.github.com:443
github.com:443
goreleaser.com:443
golang.org:443
go.dev:443
objects.githubusercontent.com:443
proxy.golang.org:443
storage.googleapis.com:443
uploads.github.com:443
sum.golang.org:443
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Setup Golang
uses: actions/setup-go@v4
with:
go-version: "1.20"
- name: Run GoReleaser
timeout-minutes: 60
uses: goreleaser/goreleaser-action@336e29918d653399e599bfca99fadc1d7ffbc9f7
with:
distribution: goreleaser
version: latest
args: release --clean --config .goreleaser.yaml
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}