Skip to content
Snippets Groups Projects
Commit 16de8509 authored by Travis Ralston's avatar Travis Ralston
Browse files

Run & fix `go vet`

parent 466e9b9b
No related branches found
No related tags found
No related merge requests found
...@@ -11,6 +11,7 @@ jobs: ...@@ -11,6 +11,7 @@ jobs:
with: with:
go-version: '1.20' go-version: '1.20'
- run: './build.sh' # verify the thing compiles first - run: './build.sh' # verify the thing compiles first
- run: 'go vet ./...'
test: test:
name: 'Go Test (1.20)' name: 'Go Test (1.20)'
runs-on: ubuntu-latest runs-on: ubuntu-latest
......
...@@ -100,7 +100,7 @@ func main() { ...@@ -100,7 +100,7 @@ func main() {
} }
// Set up a listener for SIGINT // Set up a listener for SIGINT
stop := make(chan os.Signal) stop := make(chan os.Signal, 1)
signal.Notify(stop, os.Interrupt, os.Kill) signal.Notify(stop, os.Interrupt, os.Kill)
selfStop := false selfStop := false
go func() { go func() {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment