From 8e0800f107a0921eec523007785d4777bb12d16d Mon Sep 17 00:00:00 2001 From: Alexandre Alapetite Date: Mon, 29 Apr 2024 14:34:01 +0200 Subject: [PATCH 1/2] self-hosted-ubuntu-latest Ref https://github.com/alexandrainst/ragger/pull/18 --- .github/workflows/ci.yaml | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 35672bd..647afee 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -8,26 +8,25 @@ on: jobs: lint: - runs-on: ubuntu-latest + runs-on: self-hosted-ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: jpetrucciani/black-check@master pytest: strategy: matrix: - os: [windows-latest, macos-latest, ubuntu-latest] + os: [self-hosted-ubuntu-latest] python-version: ["3.11"] runs-on: ${{ matrix.os }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Install Poetry - run: pip3 install poetry==1.5.1 - + run: pipx install poetry - name: Set up Python - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} cache: "poetry" From 6537f0144d6da0175529e0f3c7f29740500ff8c4 Mon Sep 17 00:00:00 2001 From: Alexandre Alapetite Date: Mon, 29 Apr 2024 14:36:27 +0200 Subject: [PATCH 2/2] Repin version --- .github/workflows/ci.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 647afee..619a4c0 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -23,7 +23,7 @@ jobs: - uses: actions/checkout@v4 - name: Install Poetry - run: pipx install poetry + run: pipx install poetry==1.5.1 - name: Set up Python uses: actions/setup-python@v5