Skip to content

modified disable internet function, allows for container specific blockers #12

modified disable internet function, allows for container specific blockers

modified disable internet function, allows for container specific blockers #12

Workflow file for this run

name: Run linting on swelancer
on:
pull_request:
paths:
- 'project/swelancer/**'
branches:
- '**'
types:
- opened
- synchronize
- reopened
- ready_for_review
workflow_dispatch:
inputs:
test_branch:
description: 'Branch to run the tests on'
required: false
default: 'main'
jobs:
test:
runs-on: ubuntu-latest
env:
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
steps:
- uses: actions/checkout@v4
with:
lfs: false
fetch-depth: 1
- name: Install uv
uses: astral-sh/setup-uv@v5
- name: Install dependencies
working-directory: ./project/swelancer
env:
UV_GIT_LFS: 1
run: |
uv sync
- name: run mypy
working-directory: ./project/swelancer
run: |
uv run poe typecheck
- name: run ruff-strict
working-directory: ./project/swelancer
run: |
uv run ruff check --output-format=github --no-fix