rm unused params

fix test

test workflow

security

add ci badge
This commit is contained in:
HugeFrog24
2024-10-24 00:18:32 +02:00
parent ee946ab3f3
commit e9fd36b22d
6 changed files with 61 additions and 38 deletions

View File

@@ -108,3 +108,14 @@ View errors:
```bash
journalctl -u telegram-bot -p err
```
## Testing
The GitHub actions workflow already runs tests on every commit:
> [![CI](https://github.com/HugeFrog24/go-telegram-bot/actions/workflows/go-ci.yaml/badge.svg?branch=main)](https://github.com/HugeFrog24/go-telegram-bot/actions/workflows/go-ci.yaml)
However, you can run the tests locally using:
```bash
go test -race -v ./...
```