Skip to content

Fix pylint and mypy checks #17

Fix pylint and mypy checks

Fix pylint and mypy checks #17

Workflow file for this run

#
# build.yml - GitHub build action for dwfpy
# Copyright (C) 2022 Marius Greuel
#
# SPDX-License-Identifier: MIT
#
name: Build
on:
push:
pull_request:
workflow_call:
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.8'
- name: Install Dependencies
run: pip install -r requirements.txt
- name: Check pylint, mypy, black
run: make check
- name: Build
run: make build
- name: Archive build artifacts
if: always()
uses: actions/upload-artifact@v2
with:
name: distribution
path: dist/