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