mirror of
https://github.com/taigrr/log-socket
synced 2025-01-18 04:53:14 -08:00
* ci: Added initial github action for automated testing * fix: changed go version * ci: updated to change job name to test
25 lines
379 B
YAML
25 lines
379 B
YAML
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 ./...
|