mirror of
https://github.com/balzack/databag.git
synced 2025-02-12 03:29:16 +00:00
Merge branch 'main' of https://github.com/balzack/databag into main
This commit is contained in:
commit
e4830093e3
29
.github/workflows/go.yml
vendored
Normal file
29
.github/workflows/go.yml
vendored
Normal file
@ -0,0 +1,29 @@
|
||||
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 ./...
|
Loading…
Reference in New Issue
Block a user