Skip to content

Commit

Permalink
Update go.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
esrrhs committed Apr 22, 2021
1 parent 8bf3c4f commit 2437214
Showing 1 changed file with 7 additions and 9 deletions.
16 changes: 7 additions & 9 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,14 @@ on:
jobs:

build:
name: Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2

- name: Set up Go 1.x
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: ^1.13
id: go

- name: Check out code into the Go module directory
uses: actions/checkout@v2
go-version: 1.15

- name: Get dependencies
run: |
Expand All @@ -29,6 +25,8 @@ jobs:
curl https://raw.githubusercontent.com/golang/dep/master/install.sh | sh
dep ensure
fi
- name: Build
run: go build -v .
run: go build -v ./...

- name: Test
run: go test -v ./...

0 comments on commit 2437214

Please sign in to comment.