32 Commits

Author SHA1 Message Date
xiantang 094a4aa723 fix: handle brotli HTML proxy injection (#878)
* fix: handle brotli HTML proxy injection

* Run go mod tidy
2026-01-24 00:36:59 +08:00
xiantang f7485ca491 Implement .env file preload (#867)
* implement .env parsing and expanding

* implement .env parsing and expanding

* reload env on reload/rebuild as well

* default to empty env file. remove cyclical dependency stuff

* default to empty env file. remove cyclical dependency stuff

* use godotenv to parse, dont override global vars

* implement multiple env file support

* update readme and example config

* update readme some more

* fix typo

* dce in util.go

* Avoid loading env files on cancelled runs

* Clean up env load linting

---------

Co-authored-by: sirkostya009 <kosta.tovstik@gmail.com>
2026-01-19 22:10:51 +08:00
xiantang 275c6dca73 Stop using pty on Linux (#809)
* Stop using pty on Linux

* Ensure killCmd terminates detached children

* Fix process tree signaling

* Update runner/util_linux.go

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-11-11 23:39:06 +08:00
Ricko Yu 53e3fb858d chore: update Go version to 1.25.1 and dependencies (#797)
* chore: update Go version to 1.25.1 and dependencies

- Updated Dockerfile to use Go 1.25.1 for both builder and final images.
- Modified README files (Japanese, Chinese Simplified, Chinese Traditional, and English) to reflect the new Go version requirement of 1.25.1.
- Updated go.mod to specify Go 1.25 and updated dependencies:
  - Upgraded hugo from v0.147.6 to v0.149.1
  - Upgraded testify from v1.10.0 to v1.11.1
  - Upgraded other indirect dependencies to their latest versions.
- Updated go.sum to reflect the changes in dependencies.

* fix: update golangci-lint to use latest version and install mode
2025-09-07 11:54:20 +08:00
Rick Yu 6ba3c07ce6 chore: bump go to 1.24 (#771) 2025-05-31 15:35:51 +08:00
Rick Yu a63cff4e53 chore: bump go to 1.23 (#650) 2024-09-21 22:38:40 +08:00
dependabot[bot] d7d7c97638 build(deps): bump google.golang.org/protobuf from 1.31.0 to 1.33.0 (#547)
Bumps google.golang.org/protobuf from 1.31.0 to 1.33.0.

---
updated-dependencies:
- dependency-name: google.golang.org/protobuf
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-05 17:45:22 +08:00
Rick Yu 3164beedb7 feat: bump deps and actions (#536) 2024-02-25 11:01:19 +08:00
Ethan Daniel ee37436c59 chore: bump Go to 1.21 (#449)
* update Go to 1.21

* undo format changes
2023-08-10 10:13:52 +08:00
Long Nguyễn Giao Huỳnh b7963c8461 chore: bump version of mergo (#440) 2023-07-06 08:02:27 +08:00
Sander van Harmelen f6746cf7fb Add support for polling for file changes (#409)
Fixes #360
2023-04-12 22:38:38 +08:00
Rick Yu 5cd62ac06d chore: update gosum 2023-02-25 21:26:30 +08:00
Kevin Centeno 5b4facdb3b chore: bump go to 1.20 and update deps (#394) 2023-02-23 12:35:28 +08:00
Rick Yu fafccf2ca8 chore: bump go to 1.19 and update deps (#375) 2023-01-13 10:38:00 +08:00
xiantang bc71f7dd2c Fix port already used when using dlv to debug go program (#259)
* Fix dlv port address already in use
* add test for dlv port already used
2022-06-03 23:38:12 +08:00
xiantang 82ffdeba7b Add more coverage for Run main group (#284)
* Add more coverage for Run
2022-06-03 16:30:25 +08:00
xiantang 9a9b1f639b Fix npe xiantang (#247)
️ close https://github.com/cosmtrek/air/issues/246
* fix NPE for find process
* add test for no such process
2022-01-25 21:21:48 +08:00
xiantang 4f0aa35bf4 fix cannot kill all child process issue 2022-01-23 10:18:35 +08:00
xiantang 4063a61dfb fix cannot kill all child process issue 2022-01-23 10:11:42 +08:00
ayatk 9dc02fc91d Update go 1.17 (#235)
* go mod tidy -go=1.17

* update docker base image to go 1.17

* use go1.17 in github actions

* Install using `go get` has been deprecated in 1.16, so use `go install` command
2021-12-29 22:45:52 +08:00
硯川 千優 Suzurikawa 472f55ec49 go mod tidy 2021-05-18 00:45:44 +09:00
Rick Yu c4eaffa9e0 chore(*): update deps 2021-04-11 10:17:54 +08:00
Rick Yu b2e8428718 chore(*): update deps (#124) 2020-11-21 13:57:55 +08:00
Nicky Semenza b89ac9376a chore: bump github.com/creack/pty to v1.1.10
Pulls in fix for https://github.com/creack/pty/issues/96
Was causing `failed to build, error: fork/exec /bin/sh: Setctty set but
Ctty not valid in child`
2020-09-04 18:32:55 -07:00
xiantang 703b6f14d3 release v1.12.3 2020-08-10 20:40:03 +08:00
Rick Yu 6babe4a922 chore(*): bump version to v1.12.1 2020-03-21 12:59:59 +08:00
Shintaro Ikeda e54e0b3b2e Use mergo for config loading (#48) 2020-02-09 23:18:00 +08:00
Rick Yu dbf12560b5 chore(*): bump version to v1.12.0 2020-01-01 19:38:58 +08:00
Rabin Gaire 41ae2ed40b feat(config): add version flag (#30) 2019-11-15 22:02:25 +08:00
Rick Yu 3a6bddf116 fix(runner): print log correctly 2019-11-10 03:14:23 +08:00
wanhello 85b0e08e31 go 1.13 2019-09-25 00:51:40 +08:00
Rick Yu deea398027 Bump version to 1.10 to celebrate my girlfriend's birthday, and happy new year 2018-12-30 18:32:20 +08:00