diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 08888e6e80b555993ca79c59c3aef310c6f666df..16353474af6548f52b62ee3870eab0eb704a7d95 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -11,6 +11,7 @@ jobs: with: go-version: '1.20' - run: './build.sh' # verify the thing compiles first + - run: 'go vet ./...' test: name: 'Go Test (1.20)' runs-on: ubuntu-latest diff --git a/cmd/media_repo/main.go b/cmd/media_repo/main.go index 4f4f58c8d6147b403623d58349e6449bea1b1e42..04d75afa870ba6f05f52d509f32f9629ef10ba52 100644 --- a/cmd/media_repo/main.go +++ b/cmd/media_repo/main.go @@ -100,7 +100,7 @@ func main() { } // Set up a listener for SIGINT - stop := make(chan os.Signal) + stop := make(chan os.Signal, 1) signal.Notify(stop, os.Interrupt, os.Kill) selfStop := false go func() {