papibot/Makefile
Javier Feliz 7e55444346 Add validation package (#19)
Closes #7

Added a simple validation package we can expand on. For now we can use it to validate links that get sent to the bot and make sure that:
1. It's an actual url
2. It's a url for a service we support

Also added a make file to run tests and other tasks we might need in the future.

Added a github action to run tests.

Reviewed-on: #19
Co-authored-by: Javier Feliz <me@javierfeliz.com>
Co-committed-by: Javier Feliz <me@javierfeliz.com>
2025-02-13 22:10:24 -07:00

3 lines
69 B
Makefile

test:
@echo "Running tests for main and all packages"
go test ./...