Skip to content

optimize github workflows #88

optimize github workflows

optimize github workflows #88

Workflow file for this run

name: Go
on:
push:
branches: [ master, branch-2.* ]
pull_request:
branches: [ master, branch-2.* ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: 1.21
- name: golangci-lint
uses: golangci/golangci-lint-action@v6
with:
version: v1.59.1
args: --timeout 3m --config .golangci.yml
- name: Build
run: go build -v ./...
- name: Test
run: go test -v ./...
- name: Vet
run: go vet ./...