Skip to content

chore(CI): Add Goreleaser #8

chore(CI): Add Goreleaser

chore(CI): Add Goreleaser #8

Workflow file for this run

name: Go
on:
push:
branches: [ "*" ]
pull_request:
branches: [ "master" ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
go-version: [ '1.21.x', '1.22.x', '1.23.x' ]
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup Go ${{ matrix.go-version }}
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go-version }}
- name: Download dependencies
run: go mod tidy
- name: Build
run: go build -v ./...
- name: Test
run: go test -v ./...