File tree Expand file tree Collapse file tree 2 files changed +11
-22
lines changed Expand file tree Collapse file tree 2 files changed +11
-22
lines changed Original file line number Diff line number Diff line change 18
18
name : dgraph4j-tests
19
19
runs-on : ubuntu-20.04
20
20
steps :
21
- - name : Checkout Dgraph repo # use latest dgraph build
22
- uses : actions/checkout@v4
23
- with :
24
- path : dgraph
25
- repository : dgraph-io/dgraph
26
- ref : main
27
21
- name : Checkout dgraph4j repo
28
22
uses : actions/checkout@v4
29
23
with :
@@ -37,21 +31,21 @@ jobs:
37
31
uses : gradle/actions/setup-gradle@v4
38
32
with :
39
33
gradle-version : current
40
- - name : Get Go Version
41
- run : |
42
- #!/bin/bash
43
- cd dgraph
44
- GOVERSION=$({ [ -f .go-version ] && cat .go-version; })
45
- echo "GOVERSION=$GOVERSION" >> $GITHUB_ENV
34
+ - name : Checkout Dgraph repo # use latest dgraph build
35
+ uses : actions/checkout@v4
36
+ with :
37
+ path : dgraph
38
+ repository : dgraph-io/dgraph
39
+ ref : main
46
40
- name : Set up Go
47
41
uses : actions/setup-go@v5
48
42
with :
49
- go-version : ${{ env.GOVERSION }}
43
+ go-version-file : dgraph/go.mod
50
44
- name : Build dgraph binary
51
45
run : cd dgraph && make docker-image # builds docker image with local tag
52
46
- name : Spin up local dgraph cluster
53
47
run : cd dgraph4j && docker compose -f docker-compose.test.yml up -d
54
48
- name : Run tests
55
- run : cd dgraph4j && gradle build
49
+ run : cd dgraph4j && gradle build -i
56
50
- name : Tear down cluster
57
51
run : cd dgraph4j && docker compose -f docker-compose.test.yml down
Original file line number Diff line number Diff line change 1
1
/*
2
- * Copyright (C) 2017 Dgraph Labs, Inc. and Contributors
2
+ * Copyright (C) 2023 Dgraph Labs, Inc. and Contributors
3
3
*
4
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
5
* you may not use this file except in compliance with the License.
@@ -23,12 +23,7 @@ syntax = "proto3";
23
23
24
24
package api ;
25
25
26
- /* import "gogoproto/gogo.proto"; */
27
-
28
- /* option (gogoproto.marshaler_all) = true; */
29
- /* option (gogoproto.sizer_all) = true; */
30
- /* option (gogoproto.unmarshaler_all) = true; */
31
- /* option (gogoproto.goproto_getters_all) = true; */
26
+ option go_package = "github.com/dgraph-io/dgo/v240/protos/api" ;
32
27
33
28
option java_package = "io.dgraph" ;
34
29
option java_outer_classname = "DgraphProto" ;
@@ -175,7 +170,7 @@ message Value {
175
170
bytes datetime_val = 9 ;
176
171
string password_val = 10 ;
177
172
uint64 uid_val = 11 ;
178
- // number 12 is reserved for bigfloat
173
+ bytes bigfloat_val = 12 ;
179
174
bytes vfloat32_val = 13 ;
180
175
}
181
176
}
You can’t perform that action at this time.
0 commit comments