1
0
mirror of https://github.com/taigrr/log-socket synced 2025-01-18 04:53:14 -08:00

Add Github Actions for automated testing (#12)

* ci: Added initial github action for automated testing

* fix: changed go version

* ci: updated to change job name to test
This commit is contained in:
Ethan Holz 2023-05-14 01:27:20 -05:00 committed by GitHub
parent 80b80758de
commit 2571dbe347
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

24
.github/workflows/ci.yaml vendored Normal file
View File

@ -0,0 +1,24 @@
name: Go package
on: [push]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.16'
- name: Install dependencies
run: go get .
- name: Build
run: go build -v ./...
- name: Test
run: go test -v ./...