Git, AI Tools & Your Career / Git and GitHub
Lesson 14 of 32
GitHub Actions
GitHub Actions runs scripts automatically on every push, like tests, linters or security scans. If something breaks, you find out before it reaches users.
Key points
- Workflows live in .github/workflows/
- Run tests on every push
- Add pip-audit for security checks
on: push
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: pip install -r requirements.txt && pytestQuiz · +10 XP
What is GitHub Actions used for?
Log in to save progress and earn XP.