ci: setup build workflow (#23)
* ci: setup build workflow * ci: specify go-version field * ci: remove "Print Go version" step
This commit is contained in:
parent
b7355f2b49
commit
342adf1461
1 changed files with 16 additions and 0 deletions
16
.github/workflows/ci.yml
vendored
Normal file
16
.github/workflows/ci.yml
vendored
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
name: ci
|
||||
on: [push, pull_request]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
- name: Setup Go
|
||||
uses: actions/setup-go@v2
|
||||
with:
|
||||
go-version: '^1.16'
|
||||
- name: Build
|
||||
run: go build
|
||||
|
||||
Loading…
Add table
Reference in a new issue