mirror of
https://github.com/balzack/databag.git
synced 2025-02-11 19:19:16 +00:00
28 lines
412 B
YAML
28 lines
412 B
YAML
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
|
|
run: cd net/server
|
|
run: go build databag
|
|
|
|
- name: Test
|
|
run: cd net/server
|
|
run: go test -v ./...
|