Skip to content

Edit ci and code and add .goreleaser.yml and .golangci.yml #9

Edit ci and code and add .goreleaser.yml and .golangci.yml

Edit ci and code and add .goreleaser.yml and .golangci.yml #9

Workflow file for this run

---
name: ci
on:
- push
jobs:
lint:
name: lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version-file: "go.mod"
- name: golangci-lint
uses: golangci/golangci-lint-action@v6
with:
version: latest
args: --timeout=30m
build:
runs-on: ubuntu-latest
needs:
- lint
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version-file: "go.mod"
- name: Build project
run: make build