-
-
Notifications
You must be signed in to change notification settings - Fork 55
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Move to badger v4 * adjust variable names * variable names should not start with the package name * ioutil is deprecated * does it run with go 1.20? * fmt not available? * use correct replacement * last few fixes * old protobuf repo is still used by badger v4 * don't run tests recursively * the recursive tests don't throw an error when ran locally tests should be run recursively (undo test commit) * recreate go.mod and move to uuid v5 * tests on base * go get -u . * switch to uuid v5 * adjust variable names * fix: name starts with package name * ioutils is deprecated * move to badger v4 * rename workflow to linux.yml and add build * add workflow files for macos and windows * Removed windows and macos workflows since TestPagedQueryUsingIndex is currently failing for them * use newer actions * remove v2-improvements-base
- Loading branch information
Showing
17 changed files
with
1,057 additions
and
101 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,31 @@ | ||
name: Unit test Go code | ||
name: Linux Build & Unit tests | ||
|
||
on: | ||
push: | ||
tags: | ||
- v* | ||
branches: [ "v2" ] | ||
pull_request: | ||
types: [ opened, synchronize, reopened, ready_for_review ] | ||
|
||
jobs: | ||
test: | ||
strategy: | ||
matrix: | ||
go-version: [ 1.21.x ] | ||
go-version: [ 1.20.x ] | ||
os: [ ubuntu-latest ] | ||
|
||
name: Checking | ||
runs-on: ${{ matrix.os }} | ||
steps: | ||
- name: Setup Go | ||
uses: actions/setup-go@v2 | ||
uses: actions/setup-go@v4 | ||
with: | ||
go-version: ${{ matrix.go-version }} | ||
|
||
- name: Check out code | ||
uses: actions/checkout@v2 | ||
- name: run tests | ||
run: go test ./... | ||
uses: actions/checkout@v3 | ||
|
||
- name: Build | ||
run: go build -v ./... | ||
|
||
- name: Test | ||
run: go test -v ./... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.