mirror of
https://github.com/tjboldt/Apple2-IO-RPi.git
synced 2024-11-21 11:31:56 +00:00
Create build/test action for go code
This commit is contained in:
parent
e728b02f67
commit
fb1f6f6deb
25
.github/workflows/go.yml
vendored
Normal file
25
.github/workflows/go.yml
vendored
Normal 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 ./...
|
Loading…
Reference in New Issue
Block a user