mirror of https://github.com/docker/compose.git
Use setup-dev.sh script
This commit is contained in:
parent
cc87bbe34e
commit
04e2710380
|
@ -2,38 +2,32 @@ name: Continuous integration
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: [ master ]
|
branches: [master]
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: [ master ]
|
branches: [master]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
|
|
||||||
build:
|
build:
|
||||||
name: Build
|
name: Build
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Set up Go 1.13
|
- name: Set up Go 1.13
|
||||||
uses: actions/setup-go@v1
|
uses: actions/setup-go@v1
|
||||||
with:
|
with:
|
||||||
go-version: 1.13
|
go-version: 1.13
|
||||||
id: go
|
id: go
|
||||||
|
|
||||||
- name: Checkout code into the Go module directory
|
|
||||||
uses: actions/checkout@v2
|
|
||||||
|
|
||||||
- name: Get dependencies
|
|
||||||
run: |
|
|
||||||
go get gotest.tools/gotestsum
|
|
||||||
go get github.com/stevvooe/protobuild
|
|
||||||
go get github.com/gogo/protobuf/proto
|
|
||||||
go get github.com/gogo/protobuf/jsonpb
|
|
||||||
go get github.com/golang/protobuf/protoc-gen-go
|
|
||||||
|
|
||||||
- name: Protos
|
- name: Checkout code into the Go module directory
|
||||||
run: make protos
|
uses: actions/checkout@v2
|
||||||
|
|
||||||
- name: Build
|
- name: Get dependencies
|
||||||
run: make cli
|
run: ./setup-dev.sh
|
||||||
|
|
||||||
- name: Test
|
- name: Protos
|
||||||
run: make test
|
run: make protos
|
||||||
|
|
||||||
|
- name: Build
|
||||||
|
run: make cli
|
||||||
|
|
||||||
|
- name: Test
|
||||||
|
run: make test
|
||||||
|
|
Loading…
Reference in New Issue