Skip to content

Add License, fix readme #8

Add License, fix readme

Add License, fix readme #8

Workflow file for this run

name: CI
on:
push:
permissions:
contents: write
jobs:
build:
strategy:
fail-fast: false
matrix:
go-version: [1.22.x]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go-version }}
- name: golangci-lint
uses: golangci/golangci-lint-action@v6
with:
version: v1.59
-
name: Run GoReleaser snapshot build
uses: goreleaser/goreleaser-action@v6
with:
version: '~> v2'
args: build --clean --verbose --snapshot
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
-
name: Run GoReleaser
uses: goreleaser/goreleaser-action@v6
if: startsWith(github.ref, 'refs/tags/')
with:
version: '~> v2'
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}