8000 update github workflows · deardeng/awesome-golang-leetcode@f18ea03 · GitHub
[go: up one dir, main page]

Skip to content

Commit f18ea03

Browse files
committed
update github workflows
1 parent c7500b4 commit f18ea03

File tree

1 file changed

+3
-8
lines changed

1 file changed

+3
-8
lines changed

.github/workflows/go.yml

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,7 @@ jobs:
1717
uses: actions/checkout@v2
1818

1919
- name: Get dependencies
20-
run: |
21-
go get -v -t -d ./...
22-
if [ -f Gopkg.toml ]; then
23-
curl https://raw.githubusercontent.com/golang/dep/master/install.sh | sh
24-
dep ensure
25-
fi
20+
run: go mod download
2621

27-
- name: Build
28-
run: go build -v .
22+
- name: Test
23+
run: sh test.sh

0 commit comments

Comments
 (0)
0