refactor: Upgrade go dependencies and tidy go.mod file

This commit is contained in:
windyboy
2024-07-31 11:05:23 +08:00
parent f827941a1b
commit f74d61981a
+9 -1
View File
@@ -52,7 +52,15 @@ tasks:
cmds:
- task: build-receiver
- echo "Running receiver in test mode..."
- GO_ENV=test {{.BUILD_DIR}}/receiver
- GO_ENV=test {{.BUILD_DIR}}/receiver
upgrade:
desc: Upgrade go dependencies
cmds:
- echo "Upgrading go dependencies..."
- go get -u -d -v ./...
- go mod tidy
test:
desc: Test the application