From 8da9a33a43404cc6b72504d3316c1a3f19a22fb6 Mon Sep 17 00:00:00 2001 From: Nuno Campos Date: Fri, 26 Jan 2024 15:47:15 -0800 Subject: [PATCH] Update ci to py39 --- .github/workflows/_lint.yml | 2 +- .github/workflows/ci.yml | 15 ++++++--------- 2 files changed, 7 insertions(+), 10 deletions(-) diff --git a/.github/workflows/_lint.yml b/.github/workflows/_lint.yml index 829ca8a2..46b6e191 100644 --- a/.github/workflows/_lint.yml +++ b/.github/workflows/_lint.yml @@ -25,7 +25,7 @@ jobs: # Starting new jobs is also relatively slow, # so linting on fewer versions makes CI faster. python-version: - - "3.8" + - "3.9" - "3.11" steps: - uses: actions/checkout@v3 diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6ccaf8ed..58be5f1d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -3,14 +3,13 @@ name: CI on: push: - branches: [ main ] + branches: [main] pull_request: paths: - - '.github/actions/poetry_setup/action.yml' - - '.github/workflows/_lint.yml' - - '.github/workflows/langserve_ci.yml' - - 'backend/**' - workflow_dispatch: # Allows to trigger the workflow manually in GitHub UI + - ".github/actions/poetry_setup/action.yml" + - ".github/workflows/_lint.yml" + - "backend/**" + workflow_dispatch: # Allows to trigger the workflow manually in GitHub UI # If another push to the same PR or branch happens while this workflow is still running, # cancel the earlier run in favor of the next run. @@ -28,8 +27,7 @@ env: jobs: lint: - uses: - ./.github/workflows/_lint.yml + uses: ./.github/workflows/_lint.yml with: working-directory: "./backend" secrets: inherit @@ -43,7 +41,6 @@ jobs: strategy: matrix: python-version: - - "3.8" - "3.9" - "3.10" - "3.11"