Skip to content

Commit

Permalink
ci: add build pipeline (#161)
Browse files Browse the repository at this point in the history
* ci: add build pipeline

* ci: use makefile command in build pipeline
  • Loading branch information
hbollon committed Jun 3, 2021
1 parent fcbf069 commit 1165c06
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/build.yml
@@ -0,0 +1,27 @@
name: Build

on: [push, pull_request]

jobs:
build:
strategy:
matrix:
go-version: [1.15.x]
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}
env:
GO111MODULE: on
steps:
- name: Install Go
uses: actions/setup-go@v2
with:
go-version: ${{ matrix.go-version }}

- name: Checkout code
uses: actions/checkout@v2

- name: Install dependencies
run: go mod download

- name: Build binary
run: make build

0 comments on commit 1165c06

Please sign in to comment.