Skip to content

wip

wip #91

name: Build validation

Check failure on line 1 in .github/workflows/build-validation.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/build-validation.yml

Invalid workflow file

(Line: 11, Col: 15): Expected format {org}/{repo}[/path]@ref. Actual 'actions/checkout', (Line: 15, Col: 15): Expected format {org}/{repo}[/path]@ref. Actual 'actions/setup-python'
on: push
jobs:
build:
name: Build distribution
runs-on: ubuntu-latest
steps:
- uses: actions/checkout
with:
persist-credentials: false
- name: Set up Python
uses: actions/setup-python
with:
python-version: "3.x"
- name: Install pypa/build/pylint/requirements.txt
run: >-
python3 -m
pip install
build
pylint
-r src/science_mode_4/requirements.txt
-r examples/requirements.txt
--user
- name: Build a binary wheel and a source tarball
run: python3 -m build
- name: Run linter lib
run: pylint ./src
- name: Run linter examples
run: pylint ./examples