forgejo-runner/internal/pkg
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
..
client ci(lint): refactor code for clarity and linting compliance (#289) 2023-07-13 01:10:54 +00:00
config config: default container workspace set to host path (#279) 2023-07-10 08:57:55 +00:00
envcheck Improve the usage of docker_host configuration (#260) 2023-06-30 04:00:04 +00:00
labels ci(lint): refactor code for clarity and linting compliance (#289) 2023-07-13 01:10:54 +00:00
report Skip counting log length when parseLogRow return nil (#176) 2023-05-06 17:00:52 +08:00
ver Refactor to new framework (#98) 2023-04-04 21:32:04 +08:00