Skip to content

added pipe to workflow #3

added pipe to workflow

added pipe to workflow #3

Workflow file for this run

name: CI
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: 3.x
- name: Install dependencies
run: |
python -m venv venv
source venv/bin/activate
python3 -m pip install --extra-index-url=https://wpilib.jfrog.io/artifactory/api/pypi/wpilib-python-release-2024/simple robotpy
python3 -m robotpy sync
- name: Run mypy
run: |
source venv/bin/activate
mypy .
- name: Run pylint
run: |
source venv/bin/activate
pylint $(git ls-files '*.py')