kopia lustrzana https://github.com/bugout-dev/dao
25 wiersze
486 B
YAML
25 wiersze
486 B
YAML
name: Lint Moonstream DAO codebase
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- cicd
|
|
pull_request:
|
|
branches:
|
|
- main
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-20.04
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- uses: actions/setup-python@v2
|
|
with:
|
|
python-version: "3.9"
|
|
- name: Upgrade pip
|
|
run: pip install -U pip
|
|
- name: Install dev dependencies
|
|
run: pip install -e .[dev]
|
|
- name: Black syntax check
|
|
run: black --check dao/
|