test-forgejo-runner/.forgejo/workflows/demo.yaml

25 lines
569 B
YAML
Raw Normal View History

2024-01-17 13:29:07 +01:00
name: Named workflow
2024-01-17 13:54:25 +01:00
on:
push:
branches: ["main"]
2024-01-16 13:31:33 +01:00
jobs:
test:
runs-on: docker
2024-01-17 13:54:25 +01:00
2024-01-16 13:31:33 +01:00
steps:
2024-01-22 14:44:23 +01:00
# - name: 'FIX: fetch actions/checkout@v4'
# run: curl -vL --create-dirs -o /var/run/act/actions/actions-checkout@v4/dist/index.js https://raw.githubusercontent.com/actions/checkout/main/dist/index.js
- name: Setup var symlink
run: ln -s /run /var/run
2024-01-22 12:52:37 +01:00
2024-01-22 14:45:47 +01:00
- name: Check symlink
run: ls -lahR /run ; ls -lahR /var
2024-01-22 13:46:24 +01:00
- name: Setup repo
uses: actions/checkout@v4
2024-01-22 12:23:34 +01:00
2024-01-22 12:39:58 +01:00
- name: Check repo
2024-01-22 14:44:23 +01:00
run: ls -lah