mirror of https://github.com/docker/compose.git
31 lines
514 B
YAML
31 lines
514 B
YAML
name: Continuous integration
|
|
|
|
on:
|
|
push:
|
|
branches: [master]
|
|
pull_request:
|
|
branches: [master]
|
|
|
|
jobs:
|
|
build:
|
|
name: Build
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Set up Go 1.14
|
|
uses: actions/setup-go@v1
|
|
with:
|
|
go-version: 1.14
|
|
id: go
|
|
|
|
- name: Checkout code into the Go module directory
|
|
uses: actions/checkout@v2
|
|
|
|
- name: Lint
|
|
run: make lint
|
|
|
|
- name: Build
|
|
run: make cli
|
|
|
|
- name: Test
|
|
run: make test
|