Create build/test action for go code

This commit is contained in:
Terence Boldt 2021-10-30 19:27:31 -04:00
parent e728b02f67
commit fb1f6f6deb

25
.github/workflows/go.yml vendored Normal file
View File

@ -0,0 +1,25 @@
name: Go
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.17
- name: Build
run: cd RaspberryPi/apple2driver;go build -v ./...
- name: Test
run: cd RaspberryPi/apple2driver;go test -v ./...