Skip to content

Update goreleaser configuration for cosign. #109

Update goreleaser configuration for cosign.

Update goreleaser configuration for cosign. #109

Workflow file for this run

name: ci
on:
push:
branches:
- main
pull_request:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '1.22'
check-latest: true
- uses: actions/cache@v4
with:
path: |
~/.cache/go-build
~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- name: Install development dependencies
run: |
go install github.com/google/addlicense@latest
- name: Build
run: make
- name: Test
run: make test
- name: Check
run: make check
- name: Check Licenses
run: make check-license