Skip to content

add release ci

add release ci #68

Workflow file for this run

name: Main WorkFlow
on:
push:
branches:
- main
pull_request:
jobs:
lint:
runs-on: ubuntu-20.04
steps:
- name: Install Go
uses: actions/setup-go@v4
with:
go-version: 1.21.0
- name: Checkout Code
uses: actions/checkout@v3
- name: Lint
uses: golangci/golangci-lint-action@v4
with:
version: v1.54
- name: Install Dependencies
run: go get -v -t -d ./...
- name: Test
run: make tests
build:
runs-on: ubuntu-20.04
steps:
- name: Install Go
uses: actions/setup-go@v4
with:
go-version: 1.21.0
- name: Checkout Code
uses: actions/checkout@v3
- name: Install Dependencies
run: go get -v -t -d ./...
- name: Build
run: make build