From 5e1534bc35b9d0044fa82151e672715312141132 Mon Sep 17 00:00:00 2001 From: Sergey Grebenshchikov Date: Sat, 5 Oct 2024 23:41:11 +0200 Subject: [PATCH] README.md and ci --- .github/workflows/go.yml | 4 ++-- .github/workflows/gocover.yaml | 2 +- README.md | 3 ++- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 77d4898..4aa6557 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -5,9 +5,9 @@ name: Go on: push: - branches: ["main"] + branches: ["master"] pull_request: - branches: ["main"] + branches: ["master"] jobs: build: diff --git a/.github/workflows/gocover.yaml b/.github/workflows/gocover.yaml index 37e9b5c..b57a465 100644 --- a/.github/workflows/gocover.yaml +++ b/.github/workflows/gocover.yaml @@ -2,7 +2,7 @@ name: Go coverage badge # The name of the workflow that will appear on Github on: push: - branches: [main] + branches: [master] # Allows you to run this workflow manually from the Actions tab workflow_dispatch: diff --git a/README.md b/README.md index 3f228cf..1a02f06 100644 --- a/README.md +++ b/README.md @@ -19,6 +19,7 @@ You can optionally weigh class votes by distance, or specify different vote valu **Contents** - [Usage](#usage) - [Options](#options) +- [Benchmarks](#benchmarks) - [License](#license) ## Usage @@ -32,7 +33,7 @@ import ( ) func main() { - // feature vectors packed into uint64s + // feature vectors packed into uint64s data := []uint64{0b101010, 0b111000, 0b000111} // class labels labels := []int{0, 1, 1}