Skip to content

Commit 15236ea

Browse files
Update go.yml
1 parent 4559f0c commit 15236ea

File tree

1 file changed

+8
-12
lines changed

1 file changed

+8
-12
lines changed

.github/workflows/go.yml

Lines changed: 8 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,11 @@ jobs:
1414
build:
1515
runs-on: ubuntu-latest
1616
steps:
17-
- uses: actions/checkout@v3
18-
19-
- name: Set up Go
20-
uses: actions/setup-go@v4
21-
with:
22-
go-version: '1.20'
23-
24-
- name: Build
25-
run: go build -v ./...
26-
27-
- name: Test
28-
run: go test -v ./...
17+
- uses: actions/checkout@v3
18+
- name: Setup Go
19+
uses: actions/setup-go@v4
20+
with:
21+
go-version: '1.20.x'
22+
- name: Install dependencies
23+
run: |
24+
go get -u github.com/spf13/cobra/cobra

0 commit comments

Comments
 (0)