gotty/.github/workflows/main.yaml

30 lines
518 B
YAML
Raw Normal View History

name: "Unit and Build Tests"
2021-04-22 19:50:52 +00:00
on:
push:
pull_request:
branches: [ master ]
2021-04-22 19:50:52 +00:00
jobs:
build-test:
runs-on: "ubuntu-latest"
2021-04-22 19:50:52 +00:00
steps:
- uses: actions/checkout@v3
2021-04-22 19:50:52 +00:00
with:
fetch-depth: 0
- name: Set up Go
uses: actions/setup-go@v3
2021-04-22 19:50:52 +00:00
with:
go-version: 1.19
2021-04-22 19:50:52 +00:00
- name: "Build & test"
run: "make tools test cross_compile"
2021-04-22 19:50:52 +00:00
- name: Upload build artifacts
uses: actions/upload-artifact@v3
with:
name: binaries
path: builds/pkg/*/gotty