Skip to content

feat: add github CI and Makefile #1

feat: add github CI and Makefile

feat: add github CI and Makefile #1

Workflow file for this run

name: golang linter
on:
pull_request:
push:
branches:
- main
- releases/v*.*.*
jobs:
golangci:
name: golangci-lint
runs-on: ubuntu-latest
steps:
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.20'
id: go
- name: Checkout code into the Go module directory
uses: actions/checkout@v3
- name: Lint
uses: golangci/golangci-lint-action@v3
with:
version: latest
args: --timeout=5m