From e29fffd61ab9b68984aa70a021ffa82a64d46b06 Mon Sep 17 00:00:00 2001 From: Alexandre Alapetite Date: Mon, 29 Apr 2024 15:29:38 +0200 Subject: [PATCH 1/4] Update GitHub Actions Subset of https://github.com/alexandrainst/foqa/pull/1 --- .github/workflows/ci.yaml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 35672bd..470abf5 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -10,7 +10,7 @@ jobs: lint: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: jpetrucciani/black-check@master pytest: @@ -20,14 +20,13 @@ jobs: 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 - - name: Set up Python - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} cache: "poetry" From 076f863765c7d6d61dd77e1e8dc16500ebf39bb8 Mon Sep 17 00:00:00 2001 From: Alexandre Alapetite Date: Mon, 29 Apr 2024 15:31:55 +0200 Subject: [PATCH 2/4] Update .github/workflows/ci.yaml --- .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 470abf5..39b8841 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -23,7 +23,7 @@ jobs: - 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@v5 From d6102094de18d5b8ceb9c3851416644caf301a45 Mon Sep 17 00:00:00 2001 From: Dan Saattrup Nielsen Date: Tue, 30 Apr 2024 09:23:31 +0200 Subject: [PATCH 3/4] fix: Remove xdist flags from CI --- .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 39b8841..51569ee 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -37,4 +37,4 @@ jobs: poetry install --no-interaction --no-cache - name: Test with pytest - run: poetry run pytest --dist no -n 0 + run: poetry run pytest From 48d3cf2736832fda1ac23e0f6e150e7c24ef6916 Mon Sep 17 00:00:00 2001 From: Dan Saattrup Nielsen Date: Tue, 30 Apr 2024 09:23:47 +0200 Subject: [PATCH 4/4] chore: Update Github actions --- .github/workflows/ci.yaml | 2 +- .github/workflows/docs.yaml | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 51569ee..e0879ff 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.8.2 - name: Set up Python uses: actions/setup-python@v5 diff --git a/.github/workflows/docs.yaml b/.github/workflows/docs.yaml index 2a537c5..a4fab65 100644 --- a/.github/workflows/docs.yaml +++ b/.github/workflows/docs.yaml @@ -15,13 +15,13 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Install Poetry - run: pip3 install poetry==1.5.1 + run: pipx install poetry==1.8.2 - name: Set up Python - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: "3.11" cache: "poetry" @@ -38,7 +38,7 @@ jobs: run: tar --directory docs/ -hcf artifact.tar . - name: Upload documentation - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: github-pages path: ./artifact.tar @@ -56,4 +56,4 @@ jobs: url: ${{ steps.deployment.outputs.page_url }} steps: - id: deployment - uses: actions/deploy-pages@v1 + uses: actions/deploy-pages@v4