Skip to content

Commit

Permalink
update ci workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
karancode authored and itaysk committed Oct 6, 2020
1 parent e986ec6 commit cb31812
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
name: CI
on: [push, pull_request]
on:
push:
branches:
- main
- master
pull_request:
jobs:

build:
Expand All @@ -16,6 +21,9 @@ jobs:
- name: Check out code
uses: actions/checkout@v1

- name: Check gofmt
run: test -z "$(gofmt -s -d .)"

- name: Build
run: make build

Expand Down

0 comments on commit cb31812

Please sign in to comment.