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

Compare commits

...

2 Commits

Author SHA1 Message Date
f114098a8c
uodate go version 2023-08-26 22:00:42 -07:00
Ethan Holz
2571dbe347
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
2023-05-13 23:27:20 -07:00
2 changed files with 25 additions and 1 deletions

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

2
go.mod
View File

@ -1,5 +1,5 @@
module github.com/taigrr/log-socket
go 1.16
go 1.21
require github.com/gorilla/websocket v1.5.0