act_runner/internal/app/cmd
Bo-Yi Wu db662b3690 ci(lint): refactor code for clarity and linting compliance (#289)
- Removed `deadcode`, `structcheck`, and `varcheck` linters from `.golangci.yml`
- Fixed a typo in a comment in `daemon.go`
- Renamed `defaultActionsUrl` to `defaultActionsURL` in `exec.go`
- Removed unnecessary else clause in `exec.go` and `runner.go`
- Simplified variable initialization in `exec.go`
- Changed function name from `getHttpClient` to `getHTTPClient` in `http.go`
- Removed unnecessary else clause in `labels_test.go`

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>

Reviewed-on: https://gitea.com/gitea/act_runner/pulls/289
Co-authored-by: Bo-Yi Wu <appleboy.tw@gmail.com>
Co-committed-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2023-07-13 01:10:54 +00:00
..
cache-server.go Run as cache server (#275) 2023-07-07 08:28:54 +00:00
cmd.go Run as cache server (#275) 2023-07-07 08:28:54 +00:00
daemon.go ci(lint): refactor code for clarity and linting compliance (#289) 2023-07-13 01:10:54 +00:00
exec.go ci(lint): refactor code for clarity and linting compliance (#289) 2023-07-13 01:10:54 +00:00
register.go refactor(register): refactor registration functions and improve logging (#288) 2023-07-12 14:12:16 +00:00