mirror of
https://github.com/balzack/databag.git
synced 2025-02-12 03:29:16 +00:00
Create go.yml
setting up ci
This commit is contained in:
parent
ce5cbb1f6f
commit
bfd71b79ef
27
.github/workflows/go.yml
vendored
Normal file
27
.github/workflows/go.yml
vendored
Normal file
@ -0,0 +1,27 @@
|
||||
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 ./...
|
Loading…
Reference in New Issue
Block a user