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-17 14:11:21 +01:00
|
|
|
- name: Debug runner (act actions path)
|
2024-01-17 14:17:32 +01:00
|
|
|
run: ls -lah /var/run/act/workflow
|
2024-01-17 14:11:21 +01:00
|
|
|
|
2024-01-17 14:15:27 +01:00
|
|
|
# - name: Debug runner (act help)
|
|
|
|
# run: act --help
|
2024-01-17 14:11:21 +01:00
|
|
|
|
2024-01-17 14:15:27 +01:00
|
|
|
# - name: Debug runner (act version)
|
|
|
|
# run: act --version
|
2024-01-17 14:11:21 +01:00
|
|
|
|
2024-01-17 15:03:03 +01:00
|
|
|
- name: 'FIX: fetch actions/checkout@v4'
|
2024-01-17 15:06:25 +01:00
|
|
|
run: curl -vL --create-dirs -o actions-checkout@v4/dist/index.js https://raw.githubusercontent.com/actions/checkout/main/dist/index.js
|
2024-01-17 15:03:03 +01:00
|
|
|
|
2024-01-17 13:54:25 +01:00
|
|
|
- name: Setup repo
|
2024-01-17 15:03:03 +01:00
|
|
|
uses: actions/checkout@v4
|
2024-01-17 13:54:25 +01:00
|
|
|
|
|
|
|
- name: Testing runner
|
|
|
|
run: echo All Good
|
|
|
|
|
|
|
|
- name: Testing local fs
|
|
|
|
run: ls -lah .
|
|
|
|
|
|
|
|
- name: Testing working directory
|
|
|
|
run: pwd
|