databag/.github/workflows/go.yml
Pierre Balzack 04e89e79e0
Update go.yml
fixing ci script
2022-07-01 15:07:30 -07:00

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 ./...