1
0
Fork 0
mirror of https://code.forgejo.org/forgejo/runner.git synced 2025-08-11 17:50:58 +00:00

chore(lint): add lint to the CI and make it happy (#685)

Reviewed-on: https://code.forgejo.org/forgejo/runner/pulls/685
Reviewed-by: Michael Kriese <michael.kriese@gmx.de>
Co-authored-by: Earl Warren <contact@earl-warren.org>
Co-committed-by: Earl Warren <contact@earl-warren.org>
This commit is contained in:
Earl Warren 2025-07-11 07:57:23 +00:00 committed by earl-warren
parent 5e3cb5468c
commit 91be87f293
No known key found for this signature in database
GPG key ID: F128CBE6AB3A7201
10 changed files with 40 additions and 36 deletions

View file

@ -70,7 +70,7 @@ func Test_runCreateRunnerFile(t *testing.T) {
dir := t.TempDir()
configFile := dir + "/config.yml"
runnerFile := dir + "/.runner"
cfg, err := config.LoadDefault("")
cfg, _ := config.LoadDefault("")
cfg.Runner.File = runnerFile
yamlData, err := yaml.Marshal(cfg)
assert.NoError(t, err)