forgejo-runner/cmd
a1012112796 65d2485f58
Add exec subcommand for runner so that we can run the tasks locally(#39)
Most codes are copied from https://gitea.com/gitea/act/src/branch/main/cmd
and do some small changes to make it run again

examples:

```SHELL
./act_runner exec -l
./act_runner exec -j lint
./act_runner exec -j lint -n
```

some example result:

![屏幕截图 2023-03-06 135735](/attachments/547bd05c-ade2-41f7-ba60-c9937fa32d5f)

![屏幕截图 2023-03-06 140643](/attachments/e8f48dba-c7f3-4daa-a163-aa9b36b1dc32)

Signed-off-by: a1012112796 <1012112796@qq.com>

fix #32

Reviewed-on: https://gitea.com/gitea/act_runner/pulls/39
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
Reviewed-by: Jason Song <i@wolfogre.com>
Co-authored-by: a1012112796 <1012112796@qq.com>
Co-committed-by: a1012112796 <1012112796@qq.com>
2023-03-08 14:59:52 +01:00
..
cmd.go Add exec subcommand for runner so that we can run the tasks locally(#39) 2023-03-08 14:59:52 +01:00
daemon.go Support cache (#25) 2023-02-28 23:48:37 +01:00
exec.go Add exec subcommand for runner so that we can run the tasks locally(#39) 2023-03-08 14:59:52 +01:00
register.go Further rebranding to Forgejo 2023-02-28 15:38:58 -07:00
register_test.go feat: don't require docker (#16) 2023-01-27 20:42:02 +08:00