Skip to content

Merge pull request #87 from rsharifnasab/main #221

Merge pull request #87 from rsharifnasab/main

Merge pull request #87 from rsharifnasab/main #221

Workflow file for this run

---
name: Go
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: set up Go
uses: actions/setup-go@v5
with:
go-version: 1.23.2
- name: lint
uses: golangci/golangci-lint-action@v6
with:
version: latest
args: --enable-all
- name: build
run: go build -v ./...
- name: test
run: |
go mod vendor
go test -mod=vendor --race -gcflags=-l -v -coverprofile .coverage.out ./...
rm -rf .coverage.out.tmp
go tool cover -func .coverage.out