databag/.github/workflows/go.yml

30 lines
444 B
YAML
Raw Normal View History

2022-07-01 22:04:44 +00:00
name: Go
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.17.5
- name: Build
2022-07-01 22:07:30 +00:00
run: |
cd net/server
go build databag
2022-07-01 22:04:44 +00:00
- name: Test
2022-07-01 22:07:30 +00:00
run: |
cd net/server
go test -v ./...