diff --git a/.github/workflows/lint_build.yaml b/.github/workflows/lint_build.yaml new file mode 100644 index 0000000..51267a7 --- /dev/null +++ b/.github/workflows/lint_build.yaml @@ -0,0 +1,23 @@ +name: Lint & Format +on: [ pull_request ] +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - name: Install Python + uses: actions/setup-python@v5 + with: + python-version: "3.12" + - name: Install dependencies + run: | + python -m pip install --upgrade pip + pip install ruff + # Update output format to enable automatic inline annotations. + - name: Run Linting & Formatting + run: ruff check --exclude legacy/ + - name: Build release distributions + run: | + # NOTE: put your own distribution build steps here. + python -m pip install build + python -m build diff --git a/.gitignore b/.gitignore index d840ce2..9ff80ee 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ *.pckl *.vscode* *outputs* +dist/*