Skip to content

Commit

Permalink
ci: disable modules for cli tool installation
Browse files Browse the repository at this point in the history
  • Loading branch information
paulschwoerer committed Oct 16, 2020
1 parent 499308c commit 862bdce
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,16 @@ jobs:
go-version: ^1.14
id: go

- name: Install CLI tools
env:
GO111MODULE: off
run: |
go get github.com/swaggo/swag/cmd/swag
go get github.com/GeertJohan/go.rice/rice
- name: Test
run: |
cd api/
go get -u github.com/swaggo/swag/cmd/swag
go get -u github.com/GeertJohan/go.rice/rice
swag init
cp config.example.yaml config.yaml
go test -v ./... -cover
Expand All @@ -42,8 +47,6 @@ jobs:
if: "!startsWith(github.ref, 'refs/tags/v')"
run: |
cd api/
go get -u github.com/swaggo/swag/cmd/swag
go get -u github.com/GeertJohan/go.rice/rice
swag init
rice embed-go
go build -v .
Expand Down

0 comments on commit 862bdce

Please sign in to comment.