Skip to content

Commit

Permalink
Split build gh action job for faster completion
Browse files Browse the repository at this point in the history
  • Loading branch information
mumoshu committed Sep 23, 2020
1 parent e0c7683 commit 41b6a1b
Showing 1 changed file with 18 additions and 3 deletions.
21 changes: 18 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Go
on: [push]
jobs:
build:
test:
runs-on: ubuntu-latest
strategy:
matrix:
Expand All @@ -16,8 +16,6 @@ jobs:
version: ${{ matrix.go }}
- name: Run go mod download
run: go mod download
- name: Run golangci-lint
run: make lint
- name: Install SSH key
uses: shimataro/ssh-key-action@v2
with:
Expand All @@ -29,3 +27,20 @@ jobs:
sudo apt-get update -y
sudo apt-get install ruby -y
make test smoke
lint:
runs-on: ubuntu-latest
strategy:
matrix:
go:
- 1.13.4
name: Go ${{ matrix.go }} build
steps:
- uses: actions/checkout@master
- name: Setup Go
uses: actions/setup-go@v1
with:
version: ${{ matrix.go }}
- name: Run go mod download
run: go mod download
- name: Run golangci-lint
run: make lint

0 comments on commit 41b6a1b

Please sign in to comment.