forked from Apple-2-HW/Apple2-IO-RPi
26 lines
413 B
YAML
26 lines
413 B
YAML
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 ./...
|