Commit Graph

26 Commits

Author SHA1 Message Date
Houmgaor
de00e41830 chore: fix typos, remove stale comment, and update codecov-action to v4
- Remove misleading "For Debuging" comment in sys_session.go
- Fix "offical" → "official" typo in handlers_session.go
- Update codecov-action@v3 → @v4 in CI workflow
- Consolidate technical-debt.md with completed items and updated TOC
2026-02-22 18:20:09 +01:00
Houmgaor
28bf6e93fb ci: bump golangci-lint to v2.10.1 for Go 1.25 support
v2.1.6 was built with Go 1.24 and refuses to lint Go 1.25 code.
2026-02-20 21:13:54 +01:00
Houmgaor
e3970bfda5 ci: make lint block build and deduplicate test runs
- Add lint to build job's needs so lint failures prevent artifacts
- Combine race detector + coverage into a single test run
- Pin golangci-lint to v2.1.6 to avoid surprise breakage
- Rename workflow from go-improved.yml to go.yml
2026-02-20 21:10:20 +01:00
Houmgaor
abb40f163c ci: remove --out-format flag for golangci-lint v2 compatibility
golangci-lint v2 removed the --out-format CLI flag, causing the lint
job to fail. The golangci-lint-action v7 already uses problem matchers
to surface issues natively in GitHub Actions.
2026-02-17 23:43:45 +01:00
Houmgaor
2a0e3e2c84 fix: re-enable CI lint job and fix ~65 lint errors (partial)
Re-enable the golangci-lint job in CI (disabled Oct 2025), update to
Go 1.25 and golangci-lint-action v7. Fix errcheck, gosimple S1009,
staticcheck SA4031 and SA2001 errors across 54 files. Remaining ~39
lint errors will be addressed in follow-up commits.
2026-02-17 17:59:00 +01:00
Houmgaor
89d97a15b6 ci: remove redundant go.yml workflow
go-improved.yml is a superset (tests + build). Also fix its path
trigger to reference itself and include main.go.
2026-02-17 00:32:11 +01:00
Houmgaor
7d54dd0ee6 ci: add Docker CD workflow to push images to GHCR
Multi-stage Dockerfile for smaller runtime image, CD workflow triggers
on main branch pushes and version tags, docker-compose defaults to the
prebuilt GHCR image.
2026-02-17 00:28:37 +01:00
Houmgaor
b1c8b2848f security: fix CodeQL warnings for integer overflow and workflow permissions
- handlers_tower.go: add bounds checks before int-to-int16 and int-to-uint16
  conversions to prevent overflow/wraparound (CodeQL #7, #8)
- go-improved.yml, go.yml: add top-level `permissions: contents: read` to
  restrict workflow token scope (CodeQL #15, #16, #17)
2026-02-16 19:14:14 +01:00
Houmgaor
e31a37e0f9 chore: upgrading minimal Go from 1.23 to 1.25. 2025-11-09 16:51:02 +01:00
Houmgaor
4908731773 fix(ci): remove linting, fix not passing test. 2025-10-19 23:39:23 +02:00
Houmgaor
f79e05c0c9 feat(go): upgrade from go 1.21 to 1.23
BREAKING CHANGE: will not work properly with Go 1.21.
2025-10-19 22:24:48 +02:00
Houmgaor
cde7995132 feat(ci): trying a new CI pipeline. 2025-10-19 22:00:14 +02:00
wish
d17d97fefc update workflow 2025-02-18 03:20:43 +11:00
wish
51ae16541f update workflow 2025-02-18 03:18:54 +11:00
stratic-dev
463ceba555 Added github action 2024-01-22 22:45:31 +00:00
wish
105a118163 filter workflow triggers 2023-11-19 23:13:34 +11:00
wish
b7903f4e7a update to Golang 1.21 2023-08-20 18:44:33 +10:00
wish
fdb966b11c update Golang version in actions workflow 2023-08-20 16:19:05 +10:00
wish
6cffb84606 repository cleanup 2022-10-09 05:49:38 +11:00
wish
dd883a2216 Update go.yml 2022-08-04 21:20:27 +10:00
wish
2c0e7a5267 repository cleanup 2022-07-29 03:25:23 +10:00
wish
a0be6c627c repository cleanup 2022-07-29 03:12:08 +10:00
wish
6f3f88165f repository cleanup 2022-07-29 02:57:11 +10:00
wish
48422d3c47 build savedata folder into artifact 2022-07-29 01:34:54 +10:00
wish
60d9d5b305 actions v2 (#9) 2022-07-27 12:35:48 +10:00
wish
85c9743959 implement build actions (#8) 2022-07-26 21:17:28 +10:00