GitHub Super Linter in 5 minutes! (Run Local + GitHub Actions)

Опубликовано: 15 Октябрь 2024
на канале: DevOps Directive
12,900
285

This video explains the concept of code linting, and shows how to use the GitHub Super Linter (https://github.com/github/super-linter) to automate linting for almost any codebase!

The super linter bundles up over 40 of the industry-leading linting tools for the most popular languages used today including python, javascript, and C# into an easy to use Docker image. Github also provides a simple workflow for running the linting within a continuous integration workflow within Github Actions.

I walk through the types of things a linter would catch and then demonstrate how to run the super linter locally as well as in a GitHub repo.

Sample code here: https://github.com/sidpalas/devops-di...

Cheers!

---
Join the Community:
💬 Discord:   / discord  
💻 GitHub: https://github.com/sidpalas/devops-di...
🐥 Twitter:   / sidpalas  
👨‍💼 LinkedIn:   / sid-palas  
🌐 Website: https://devopsdirective.com

---

Timestamps:
0:00 - LOTR
0:21 - Linting overview
0:55 - Supported linters
1:08 - Sample code
1:51 - Custom configuration
2:16 - Local execution
3:01 - Fixing lint issues
3:42 - Setting up GitHub Action workflow
4:32 - Pushing code to remote repo
4:40 - Examining action results within pull request
4:57 - Final thoughts

---

Community Size at Time of Posting:
Subscribers: 2574
Channel Views: 20632

The beard is gone! (for now... 🧔)