34 lines
740 B
YAML
34 lines
740 B
YAML
name: Named workflow
|
|
|
|
on:
|
|
push:
|
|
branches: ["main"]
|
|
|
|
jobs:
|
|
test:
|
|
runs-on: docker
|
|
|
|
steps:
|
|
- name: Debug runner (act actions path)
|
|
run: ls -lah /var/run/act/workflow
|
|
|
|
# - name: Debug runner (act help)
|
|
# run: act --help
|
|
|
|
# - name: Debug runner (act version)
|
|
# run: act --version
|
|
|
|
- name: 'FIX: fetch actions/checkout@v4'
|
|
run: curl -fsL -o actions-checkout@v4/dist/index.js https://raw.githubusercontent.com/actions/checkout/main/dist/index.js
|
|
|
|
- name: Setup repo
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Testing runner
|
|
run: echo All Good
|
|
|
|
- name: Testing local fs
|
|
run: ls -lah .
|
|
|
|
- name: Testing working directory
|
|
run: pwd |