Skip to content

Commit

Permalink
feat: Add CI workflow for linting
Browse files Browse the repository at this point in the history
Add a Github CI workflow to execute the configured linting checks on
pull requests and when pushing against the main or track/* branches.

Signed-off-by: Phoevos Kalemkeris <phoevos.kalemkeris@canonical.com>
  • Loading branch information
phoevos committed Sep 12, 2023
1 parent 2eced94 commit 341aa7f
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Lint

on:
push:
branches:
- main
- track/**
pull_request:

jobs:
lint:
name: Lint
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- run: python3 -m pip install tox
- run: tox -e lint

0 comments on commit 341aa7f

Please sign in to comment.