mirror of
https://github.com/docker/compose.git
synced 2026-08-28 04:18:05 +00:00
Add make lint and run it on CI
This commit is contained in:
parent
6feedaf939
commit
4e9a4185af
13 changed files with 58 additions and 101 deletions
14
.github/workflows/ci.yml
vendored
14
.github/workflows/ci.yml
vendored
|
|
@ -11,23 +11,17 @@ jobs:
|
|||
name: Build
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Set up Go 1.13
|
||||
- name: Set up Go 1.14
|
||||
uses: actions/setup-go@v1
|
||||
with:
|
||||
go-version: 1.13
|
||||
go-version: 1.14
|
||||
id: go
|
||||
|
||||
- name: Checkout code into the Go module directory
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: Install Protoc
|
||||
uses: arduino/setup-protoc@master
|
||||
|
||||
- name: Get dependencies
|
||||
run: ./scripts/setup/install-go-gen
|
||||
|
||||
- name: Protos
|
||||
run: make protos
|
||||
- name: Lint
|
||||
run: make lint
|
||||
|
||||
- name: Build
|
||||
run: make cli
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue