pdqhash-go

git clone git://archive.git.mtrnord.blog/MTRNord/pdqhash-go.git
Log | Files | Refs | LICENSE

commit f87335bc9fa50384ba6644b198cbfa53b8d257b5
parent 1847691a456504321e2f0ad1761de8134eac1604
Author: MTRNord <mtrnord1@gmail.com>
Date:   Sun, 25 Feb 2024 02:02:08 +0100

Add CI

Diffstat:
A.github/workflows/ci.yaml | 25+++++++++++++++++++++++++
Mpdq_hasher.go | 2++
2 files changed, 27 insertions(+), 0 deletions(-)

diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml @@ -0,0 +1,25 @@ +name: "CI" +on: ["push", "pull_request"] + +jobs: + ci: + name: "Run CI" + strategy: + fail-fast: false + matrix: + os: ["windows-latest", "ubuntu-latest", "macOS-latest"] + go: ["1.22.x"] + runs-on: ${{ matrix.os }} + steps: + - uses: actions/checkout@v4 + with: + fetch-depth: 1 + - uses: WillAbides/setup-go-faster@v1.14.0 + with: + go-version: ${{ matrix.go }} + - run: "go test ./..." + - run: "go vet ./..." + - uses: dominikh/staticcheck-action@v1.2.0 + with: + install-go: false + cache-key: ${{ matrix.go }} diff --git a/pdq_hasher.go b/pdq_hasher.go @@ -1,5 +1,7 @@ package pdq +//lint:file-ignore U1000 Ignore all unused code, it's pending tests + import ( "log" "math"