27 lines
392 B
YAML
27 lines
392 B
YAML
|
name: Go
|
||
|
|
||
|
on:
|
||
|
push:
|
||
|
branches:
|
||
|
- "*"
|
||
|
|
||
|
jobs:
|
||
|
build:
|
||
|
runs-on: ubuntu-latest
|
||
|
steps:
|
||
|
- name: Checkout
|
||
|
uses: actions/checkout@v2
|
||
|
|
||
|
- name: Set up Go
|
||
|
uses: actions/setup-go@v2
|
||
|
with:
|
||
|
go-version: 1.18
|
||
|
|
||
|
- name: Install make
|
||
|
run: sudo apt-get install -y make
|
||
|
|
||
|
- name: Build
|
||
|
run: make build
|
||
|
|
||
|
- name: Test
|
||
|
run: make test
|