CI: Forgejo Actions examples

For more information see the documentation

https://forgejo.org/docs/v1.21/user/actions/

It is still incomplete and you can take a look at the GitHub Actions
for inspiration. Note however that there is no guarantee they are
compatible and each new thing should be tested first.
This commit is contained in:
Earl Warren 2023-12-06 16:19:01 +01:00
parent 7b1b9b09c5
commit 15a7808491
No known key found for this signature in database
GPG key ID: 0579CB2928A78A00
2 changed files with 18 additions and 0 deletions

View file

@ -0,0 +1,8 @@
on: [pull_request]
jobs:
demo:
runs-on: docker
steps:
- uses: actions/checkout@v4
- run: |
uname -a

View file

@ -0,0 +1,10 @@
on: [pull_request]
jobs:
demo:
runs-on: k8s
steps:
- run: |
set -x
apt-get update -qq
apt-get -q install -qq docker.io
docker info