Skip to content

feat(CI): Move CI to Github Actions #4

feat(CI): Move CI to Github Actions

feat(CI): Move CI to Github Actions #4

Workflow file for this run

name: Run flake8
on:
# Runs on pushes targeting the default branch
push:
branches:
- main
- develop
pull_request:
branches:
- main
- develop
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
flake8:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Cache Docker images.
uses: ScribeMD/[email protected]
with:
key: docker-${{ runner.os }}-${{ hashFiles('docker-compose.yaml') }}
- name: Install dependencies
run: |
pip install flake8
- name: Run flake8
run: |
flake8