Github Actions
Last updated
Last updated
A common event that occurs on a repo, is when someone pushes code.
on: push
We specify the workflow to trigger when someone pushes new code.
This will run all the jobs within the workflow.
There are other triggers: https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows
In this workflow we have a single named, super-lint
It specifies multiple steps and actions
Under steps, there are 2 actions being run.
First it is going to checkout our code with checkout@v2
Then its going to run the super-linter@v3 against it
runs-on: specifies a container environment for the code to run within. By default Github runs this container for you - but you can host your own if you wish.
The default container options are: ubuntu, windows, macOS
Runners
Steps
actions