55646f28cbbd0d19c54d024ca2b699e55b834b78
Gitea Actions testing ground
This repository is a testing ground for several Gitea Actions used within the Phyllome OS project.
Gitea Actions closely resemble GitHub Actions, to the point that several GitHub Actions can be used in Gitea Actions workflows without modification.
How to test actions locally
-
Clone this repository locally
-
Download the latest version of the act runner for your architecture here
- For instance, if your computer is running Linux with an amd64 processor:
act_runner-0.2.12-linux-amd64
- For instance, if your computer is running Linux with an amd64 processor:
curl https://dl.gitea.com/act_runner/0.2.12/act_runner-0.2.12-linux-amd64 --output act_runner
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 19.2M 100 19.2M 0 0 102M 0 --:--:-- --:--:-- --:--:-- 103M
-
Add execute permission
-
Execute the act runner using the
exec
argument and specify the workflow file to be used:
./act_runner exec --workflows workflows/checkout.yml
INFO[0000] Using the only detected workflow event: push
INFO[0000] Planning jobs for event: push
INFO[0000] cache handler listens on: http://192.168.122.175:38917
INFO[0000] Start server on http://192.168.122.175:34567
[...]
[checkout/checkout] ⭐ Run Main https://git.phyllo.me/actions/checkout@v4
[checkout/checkout] 🐳 docker cp src=/home/lukas/test-actions/. dst=/home/lukas/test-actions
[checkout/checkout] ✅ Success - Main https://git.phyllo.me/actions/checkout@v4
[checkout/checkout] Cleaning up container for job checkout
[checkout/checkout] Cleaning up network for job checkout, and network name is: GITEA-ACTIONS-TASK-push_WORKFLOW-checkout_JOB-checkout-checkout-network
How workflows are used in Phyllome OS
Several known actions repositories are mirrored within Phyllome's Gitea instance, under the actions organization.
Good resources
test7
Latest