mirror of https://github.com/zschaffer/jenga.git
feat: add github workflow
This commit is contained in:
parent
3e36454453
commit
145a34a48b
|
@ -0,0 +1,27 @@
|
|||
name: Go
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ "main" ]
|
||||
pull_request:
|
||||
branches: [ "main" ]
|
||||
|
||||
jobs:
|
||||
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
- name: Set up Go
|
||||
uses: actions/setup-go@v3
|
||||
with:
|
||||
go-version: 1.18
|
||||
check-latest: true
|
||||
cache: true
|
||||
|
||||
- name: Build
|
||||
run: go build -v .
|
||||
|
||||
- name: Vet
|
||||
run: go vet .
|
Loading…
Reference in New Issue