Skip to content

πŸ“š docs(readme): remove release flow section #46

πŸ“š docs(readme): remove release flow section

πŸ“š docs(readme): remove release flow section #46

Workflow file for this run

name: ci
on:
pull_request:
push:
branches:
- main
permissions:
contents: read
jobs:
quality:
name: quality
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v5
with:
fetch-depth: 0
- name: Setup Go
uses: actions/setup-go@v6
with:
go-version-file: go.mod
cache: true
- name: Verify go.mod/go.sum are tidy
run: |
go mod tidy
git diff --exit-code -- go.mod go.sum
- name: golangci-lint (full)
uses: golangci/golangci-lint-action@v8
with:
version: v2.10.1
args: --timeout=5m
- name: Go test (race)
run: go test -race ./...
- name: Go test (coverage)
run: |
go test -coverprofile=coverage.out ./...
go tool cover -func=coverage.out | tail -n 1
total="$(go tool cover -func=coverage.out | awk '/^total:/ {gsub(/%/, "", $3); print $3}')"
min=65
awk -v total="$total" -v min="$min" 'BEGIN { if (total+0 < min+0) exit 1 }'