ci: improve workflow structure
This commit is contained in:
parent
b47cd1cf68
commit
234c32c0a8
|
@ -1,10 +1,22 @@
|
||||||
name: Named workflow
|
name: Named workflow
|
||||||
on: [push]
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches: ["main"]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
test:
|
test:
|
||||||
runs-on: docker
|
runs-on: docker
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: https://code.forgejo.org/actions/checkout@v4
|
- name: Setup repo
|
||||||
- run: echo All Good
|
uses: https://code.forgejo.org/actions/checkout@v4
|
||||||
- run: ls -lah .
|
|
||||||
- run: pwd
|
- name: Testing runner
|
||||||
|
run: echo All Good
|
||||||
|
|
||||||
|
- name: Testing local fs
|
||||||
|
run: ls -lah .
|
||||||
|
|
||||||
|
- name: Testing working directory
|
||||||
|
run: pwd
|
Loading…
Reference in a new issue