act/pkg
Eng Zer Jun 8a9e4f9f38
refactor: remove unnecessary nil check in RunContext (#1955)
From the Go docs:

  "For a nil slice, the number of iterations is 0" [1]

Therefore, an additional nil check for `job.RunsOn()` before the loop is
unnecessary because `job.RunsOn()` returns a `[]string`.

[1]: https://go.dev/ref/spec#For_range

Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
2023-08-09 12:41:12 +00:00
..
artifactcache fix: handle zero size (#1888) 2023-07-10 20:35:27 -07:00
artifacts chore: upgrade golangci-lint and address findings (#1904) 2023-07-10 17:12:12 -07:00
common chore: upgrade golangci-lint and address findings (#1904) 2023-07-10 17:12:12 -07:00
container feat: cmd support for windows (#1941) 2023-08-08 15:44:25 +00:00
exprparser Shorten or/and in expressions (#1939) 2023-08-08 14:30:13 +00:00
lookpath feat: Host environment (#1293) 2022-11-16 21:29:45 +00:00
model feat: cmd support for windows (#1941) 2023-08-08 15:44:25 +00:00
runner refactor: remove unnecessary nil check in RunContext (#1955) 2023-08-09 12:41:12 +00:00
workflowpattern feat: workflowpattern package (#1618) 2023-02-23 18:21:08 +00:00