summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* fix: log skipped job and step result as info instead of debugEarl Warren2024-11-216-9/+73
| | | | | This allows the Forgejo runner to obtain the job result from the logs even when it is not in debug mode.
* Merge pull request 'ci: use `go.mod` to install go' (#66) from ci/use-go-mod ↵v1.22.1earl-warren2024-11-202-7/+13
|\ | | | | | | | | | | | | into main Reviewed-on: https://code.forgejo.org/forgejo/act/pulls/66 Reviewed-by: earl-warren <earl-warren@noreply.code.forgejo.org>
| * ci: use `go.mod` to install goMichael Kriese2024-11-202-7/+13
|/
* Merge pull request 'fix: [FORGEJO] do not share the act-toolcache volume' ↵earl-warren2024-11-201-4/+1
|\ | | | | | | | | | | | | (#61) from earl-warren/act:wip-hostedtoolcache into main Reviewed-on: https://code.forgejo.org/forgejo/act/pulls/61 Reviewed-by: Michael Kriese <michael.kriese@gmx.de>
| * fix: [FORGEJO] do not share the act-toolcache volumeEarl Warren2024-11-201-4/+1
| | | | | | | | | | | | | | | | | | In the context of Forgejo the act-toolcache must not be mounted otherwise independent workflows will race against each other when writing to it. For instance if a setup-go action is run at the same time as another, there is a probability that they both write the same file at the same time, which could lead to a truncated or invalid content.
* | Merge pull request 'Update actions/setup-go action to v5' (#64) from ↵earl-warren2024-11-202-2/+2
|\ \ | | | | | | | | | | | | | | | | | | renovate/actions-setup-go-5.x into main Reviewed-on: https://code.forgejo.org/forgejo/act/pulls/64 Reviewed-by: Michael Kriese <michael.kriese@gmx.de>
| * | Update actions/setup-go action to v5Renovate Bot2024-11-202-2/+2
| |/
* | Merge pull request 'Update actions/checkout action to v4' (#63) from ↵earl-warren2024-11-201-1/+1
|\ \ | | | | | | | | | | | | | | | | | | renovate/actions-checkout-4.x into main Reviewed-on: https://code.forgejo.org/forgejo/act/pulls/63 Reviewed-by: Michael Kriese <michael.kriese@gmx.de>
| * | Update actions/checkout action to v4Renovate Bot2024-11-201-1/+1
| |/
* | Merge pull request 'ci: use our cached oci images' (#65) from ↵Michael Kriese2024-11-202-1/+3
|\ \ | |/ |/| | | | | | | | | ci/use-cached-oci-images into main Reviewed-on: https://code.forgejo.org/forgejo/act/pulls/65 Reviewed-by: earl-warren <earl-warren@noreply.code.forgejo.org>
| * ci: use our cached oci imagesMichael Kriese2024-11-202-1/+3
|/
* Merge pull request 'Support overwriting caches' (#60) from wip-artifactcache ↵v1.22.0earl-warren2024-11-113-118/+354
|\ | | | | | | | | | | into main Reviewed-on: https://code.forgejo.org/forgejo/act/pulls/60
| * fix: cache adjust restore order of exact key matches (#2267)ChristopherHX2024-11-072-0/+115
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * wip: adjust restore order * fixup * add tests * cleanup * fix typo --------- Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> (cherry picked from commit f825e42ce200fc4973c3f28797ffba942d322d38)
| * Support overwriting caches (#2265)Jason Song2024-11-073-118/+239
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * feat: support overwrite caches * test: fix case * test: fix get_with_multiple_keys * chore: use atomic.Bool * test: improve get_with_multiple_keys * chore: use ping to improve path * fix: wrong CompareAndSwap * test: TestHandler_gcCache * chore: lint code * chore: lint code (cherry picked from commit b9382a2c4e6801d136c246a7e30e7ceafaad3ade)
| * fix: docker buildx cache restore not working (#2236)ChristopherHX2024-11-071-1/+1
|/ | | | | | * To take effect artifacts v4 pr is needed with adjusted claims (cherry picked from commit 75e4ad93f4c6ba51a7a64f12335dd0268dd7465a)
* Merge pull request 'fix: return an error when the argument count is wrong' ↵v1.21.5earl-warren2024-10-313-1/+57
|\ | | | | | | | | | | | | (#59) from earl-warren/act:wip-arg-count into main Reviewed-on: https://code.forgejo.org/forgejo/act/pulls/59 Reviewed-by: Michael Kriese <michael.kriese@gmx.de>
| * fix: return an error when the argument count is wrongEarl Warren2024-10-313-1/+57
|/ | | | Closes forgejo/runner#307
* Merge pull request 'fix: debug is leaking host container and network names' ↵v1.21.4earl-warren2024-10-191-1/+0
|\ | | | | | | | | | | | | (#58) from earl-warren/act:wip-debug into main Reviewed-on: https://code.forgejo.org/forgejo/act/pulls/58 Reviewed-by: Michael Kriese <michael.kriese@gmx.de>
| * fix: debug is leaking host container and network namesEarl Warren2024-10-191-1/+0
|/ | | | Closes forgejo/runner#295
* Merge pull request '[FORGEJO] when a workflow decode error happen, log and ↵v1.21.3earl-warren2024-09-153-2/+21
|\ | | | | | | | | | | | | do not crash' (#54) from earl-warren/act:wip-decode-fatal into main Reviewed-on: https://code.forgejo.org/forgejo/act/pulls/54 Reviewed-by: Michael Kriese <michael.kriese@gmx.de>
| * [FORGEJO] when a workflow decode error happen, log and do not crashEarl Warren2024-09-153-2/+21
|/
* chore(renovate): disable runner test dataMichael Kriese2024-08-271-0/+5
|
* Merge pull request 'chore: only run tests on main' (#52) from ↵earl-warren2024-08-261-2/+4
|\ | | | | | | | | | | | | earl-warren/act:wip-ci-on-main into main Reviewed-on: https://code.forgejo.org/forgejo/act/pulls/52 Reviewed-by: Michael Kriese <michael.kriese@gmx.de>
| * chore: only run tests on mainEarl Warren2024-08-231-2/+4
| | | | | | | | otherwise it runs twice for renovate PRs
* | Merge pull request 'Update module github.com/rhysd/actionlint to v1.6.27' ↵v1.21.2earl-warren2024-08-232-12/+12
|\ \ | |/ |/| | | | | | | | | (#51) from renovate/github.com-rhysd-actionlint-1.6.x into main Reviewed-on: https://code.forgejo.org/forgejo/act/pulls/51 Reviewed-by: Michael Kriese <michael.kriese@gmx.de>
| * Update module github.com/rhysd/actionlint to v1.6.27Renovate Bot2024-08-232-12/+12
|/
* chore(renovate): add ruleMichael Kriese2024-08-231-0/+5
|
* Merge pull request 'Update module github.com/docker/docker to v25 ↵earl-warren2024-08-232-73/+109
|\ | | | | | | | | | | | | [SECURITY]' (#48) from renovate/go-github.com-docker-docker-vulnerability into main Reviewed-on: https://code.forgejo.org/forgejo/act/pulls/48 Reviewed-by: Michael Kriese <michael.kriese@gmx.de>
| * upgrade github.com/moby/buildkit v0.13.2Earl Warren2024-08-232-72/+108
| |
| * Update module github.com/docker/docker to v25 [SECURITY]Renovate Bot2024-08-231-1/+1
| |
* | Merge pull request 'chore: drop `.github` and `.gitea`' (#50) from ↵Michael Kriese2024-08-2316-647/+0
|\ \ | |/ |/| | | | | | | | | chore/drop-github-and-gitea into main Reviewed-on: https://code.forgejo.org/forgejo/act/pulls/50 Reviewed-by: earl-warren <earl-warren@noreply.code.forgejo.org>
| * chore: drop `.github` and `.gitea`Michael Kriese2024-08-2316-647/+0
|/
* Merge pull request 'Update dependency go to v1.21' (#49) from ↵earl-warren2024-08-232-1/+15
|\ | | | | | | | | | | | | | | renovate/minor-1.21-golang-packages into main Reviewed-on: https://code.forgejo.org/forgejo/act/pulls/49 Reviewed-by: earl-warren <earl-warren@noreply.code.forgejo.org> Reviewed-by: Michael Kriese <michael.kriese@gmx.de>
| * Update dependency go to v1.21Renovate Bot2024-08-232-1/+15
|/
* chore(renovate): drop docker commentMichael Kriese2024-08-231-1/+1
| | | | It blocks detection by renovate
* chore(renovate): add renovate configMichael Kriese2024-08-231-0/+11
|
* Merge pull request 'fix(jobparser): support `workflow_dispatch.inputs`' ↵v1.21.1earl-warren2024-08-222-0/+13
|\ | | | | | | | | | | | | (#45) from viceice/fix-inputs into main Reviewed-on: https://code.forgejo.org/forgejo/act/pulls/45 Reviewed-by: earl-warren <earl-warren@noreply.code.forgejo.org>
| * fix(jobparser): support `workflow_dispatch.inputs`Michael Kriese2024-08-222-0/+13
|/
* Merge pull request 'fix(jobparser): template job name if it's defined' (#41) ↵thefox2024-07-014-3/+126
|\ | | | | | | | | | | from thefox/job-matrix into main Reviewed-on: https://code.forgejo.org/forgejo/act/pulls/41
| * fix(jobparser): template job name if it's definedTheFox0x72024-07-014-3/+126
|/
* Merge pull request 'Fix NewDockerNetworkCreateExecutor in docker_stub' (#39) ↵earl-warren2024-04-042-1/+3
|\ | | | | | | | | | | | | from tmb/act:fix-docker_stub into main Reviewed-on: https://code.forgejo.org/forgejo/act/pulls/39 Reviewed-by: earl-warren <earl-warren@noreply.code.forgejo.org>
| * Test build without DockerTobias Bölz2024-04-041-0/+2
| |
| * Fix NewDockerNetworkCreateExecutor in docker_stubTobias Bölz2024-04-031-1/+1
|/
* [FORGEJO] add forge alias for github (#37)v1.21.0TheFox0x72024-04-021-0/+2
| | | | | | | | | I left gitea for backwards compatibility Reviewed-on: https://code.forgejo.org/forgejo/act/pulls/37 Reviewed-by: earl-warren <earl-warren@noreply.code.forgejo.org> Co-authored-by: TheFox0x7 <thefox0x7@gmail.com> Co-committed-by: TheFox0x7 <thefox0x7@gmail.com>
* Merge pull request '[FORGEJO] a network of "" is not the same as "host"' ↵v1.20.1earl-warren2024-03-241-8/+1
|\ | | | | | | | | | | | | | | (#35) from earl-warren/act:wip-network into main Reviewed-on: https://code.forgejo.org/forgejo/act/pulls/35 Reviewed-by: twenty-panda <twenty-panda@noreply.code.forgejo.org> Reviewed-by: Michael Kriese <michael.kriese@gmx.de>
| * [FORGEJO] a network of "" is not the same as "host"Earl Warren2024-03-241-8/+1
|/ | | | | | | | | | The comment that introduced this change suggests it was motivated by a border case by which the image would be empty. It is however unclear why it should have any impact on how the network name is determined. The hunk is reverted. https://github.com/nektos/act/pull/1949/files#r1315163582
* [FORGEJO] Revert "Don't set GITHUB_TOKEN (#2089)"v1.20.0Earl Warren2024-03-112-0/+2
| | | | | | It is a breaking change. This reverts commit 18b4714e38d4871947eff0acb7f1c8f4625fda9f.
* [FORGEJO] feat(docker): Add flag to enable IPv6 in auto-created networks (#24)s3lph2024-03-113-12/+12
| | | | | | | | | Implements one part of forgejo/runner#119. The other part is a corresponding PR in forgejo/runner: forgejo/runner#120. Reviewed-on: https://code.forgejo.org/forgejo/act/pulls/24 Reviewed-by: earl-warren <earl-warren@noreply.code.forgejo.org> Co-authored-by: s3lph <codeberg@s3lph.me> Co-committed-by: s3lph <codeberg@s3lph.me>
* [LXC] global lock on startEarl Warren2024-03-111-0/+2
| | | | | | Since the start script may create LXC templates that are shared, they may race against each other when running for the first time. A lock global to the host needs to be used to guarantee that does not happen.
* [LXC] split platform into template, release and configEarl Warren2024-03-111-25/+50
|