Thanks to visit codestin.com
Credit goes to github.com

Skip to content

build: Add github goreleaser action #142

build: Add github goreleaser action

build: Add github goreleaser action #142

Workflow file for this run

name: "Unit Test"
on:
push:
pull_request:
jobs:
unit_test:
name: Unit Test
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
go: [ "1.16", "1.17" ]
os: [ "ubuntu-latest", "windows-latest", "macos-latest" ]
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go }}
- name: Install mockgen
run: go install github.com/golang/mock/mockgen@latest
- name: Build
run: make build
- name: Test
run: make test