https://help.github.com/en/actions - there docs are full of BS.
https://www.liatrio.com/blog/github-actions - but this link is awesome.
s/you can/you should/
and here is what you need to do.
You should create at least one workflow as a .yaml
/.yml
file
in .github/workflows/
dir.
Each workflow contains on trigger and jobs, each job contains steps.
on: push
jobs:
anyjobname:
runs-on: ubuntu-latest
steps:
- run: echo done.
- on: is obligatory.
- steps: is required.
- runs-on: is required too and the choice is limited.
- And you can't get away without jobs:
No source code checkout by defaut.