mirror of
https://github.com/felixangell/phi.git
synced 2024-09-11 15:55:25 +03:00
29 lines
460 B
YAML
29 lines
460 B
YAML
name: Go
|
|
|
|
on:
|
|
push:
|
|
branches: [ master ]
|
|
pull_request:
|
|
branches: [ master ]
|
|
|
|
jobs:
|
|
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- name: install_deps
|
|
runs: |
|
|
sudo apt-get install libsdl2{,-image,-ttf,-gfx}-dev
|
|
|
|
- name: Set up Go
|
|
uses: actions/setup-go@v2
|
|
with:
|
|
go-version: 1.15
|
|
|
|
- name: Build
|
|
run: go build -v ./...
|
|
|
|
- name: Test
|
|
run: go test -v ./...
|