fix: ignore blank lines and decode UTF-16 in the runner env files (#1084)

Fixes #496
Fixes #552

Reviewed-on: https://gitea.com/gitea/runner/pulls/1084
Reviewed-by: Zettat123 <39446+zettat123@noreply.gitea.com>
This commit is contained in:
bircni
2026-07-15 19:45:50 +00:00
parent 58c5eb8d21
commit 60177008a5
4 changed files with 72 additions and 15 deletions

1
go.mod
View File

@@ -40,6 +40,7 @@ require (
go.yaml.in/yaml/v4 v4.0.0-rc.3
golang.org/x/sys v0.47.0
golang.org/x/term v0.45.0
golang.org/x/text v0.37.0
google.golang.org/protobuf v1.36.11
gotest.tools/v3 v3.5.2
tags.cncf.io/container-device-interface v1.1.0