feature: github actions #1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This workflow will lint a python project | |
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-go | |
name: Lint | |
on: | |
push: | |
branches: [ "development" ] | |
pull_request: | |
branches: [ "main" ] | |
env: | |
PYTHON_VERSION: '3.10.12' | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
- uses: actions/checkout@v4 | |
- name: Install Python | |
uses: actions/setup-python@v3 | |
with: | |
python-version: ${{ env.PYTHON_VERSION }} | |
- name: Install requirments | |
run: make install_requirements | |
- name: Run linter | |
run: make run_lint |