Skip to content

Merge pull request #4 from sm1ky/production #48

Merge pull request #4 from sm1ky/production

Merge pull request #4 from sm1ky/production #48

Workflow file for this run

name: Check syntax and build image
on:
push:
branches:
- production
- development
pull_request:
branches:
- production
- development
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.11'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Lint with flake8
run: |
pip install flake8
flake8 --max-line-length=88 .
- name: Build Docker image
run: |
docker build -t marzban-node-monitor .