зеркало из https://github.com/docker/hub-tool.git
ci: Do not cross compile on PR builds
Signed-off-by: Chris Crone <christopher.crone@docker.com>
This commit is contained in:
Родитель
bb464a05b0
Коммит
df797444d0
|
@ -45,20 +45,11 @@ jobs:
|
|||
- name: Checkout code into the Go module directory
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: Golang cache
|
||||
uses: actions/cache@v1
|
||||
with:
|
||||
path: ~/go/pkg/mod
|
||||
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
|
||||
restore-keys: |
|
||||
${{ runner.os }}-go-
|
||||
|
||||
- name: Build Cross
|
||||
run: make cross
|
||||
- name: Build CLI
|
||||
run: make build
|
||||
|
||||
- name: Unit Tests
|
||||
run: make test-unit
|
||||
|
||||
- name: End-to-end Tests
|
||||
run: make e2e
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче