Skip to content

Commit a94e00e

Browse files
authored
Update ci-dgraph-js-http.yml
1 parent 17e0d27 commit a94e00e

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

.github/workflows/ci-dgraph-js-http.yml

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -33,16 +33,10 @@ jobs:
3333
path: dgraph
3434
repository: hypermodeinc/dgraph
3535
ref: main
36-
- name: Get Go Version
37-
run: |
38-
#!/bin/bash
39-
cd dgraph
40-
GOVERSION=$({ [ -f .go-version ] && cat .go-version; })
41-
echo "GOVERSION=$GOVERSION" >> $GITHUB_ENV
4236
- name: Set up Go
43-
uses: actions/setup-go@v3
37+
uses: actions/setup-go@v5
4438
with:
45-
go-version: ${{ env.GOVERSION }}
39+
go-version-file: go.mod
4640
- name: Build dgraph binary
4741
run: cd dgraph && make docker-image # also builds dgraph binary
4842
- name: Move dgraph binary to gopath

0 commit comments

Comments
 (0)