From 57770686c98e70c09577f2ea23a3a5846fe998f4 Mon Sep 17 00:00:00 2001 From: Arthur Zamarin Date: Fri, 26 Jan 2024 11:19:33 +0200 Subject: ci: bump dependencies Signed-off-by: Arthur Zamarin --- .github/workflows/doc.yml | 10 +++++++--- .github/workflows/release.yml | 9 ++++++--- .github/workflows/test.yml | 6 +++--- 3 files changed, 16 insertions(+), 9 deletions(-) diff --git a/.github/workflows/doc.yml b/.github/workflows/doc.yml index 47708ff..4e0a49d 100644 --- a/.github/workflows/doc.yml +++ b/.github/workflows/doc.yml @@ -19,10 +19,10 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Set up Python 3.11 - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: '3.11' cache: 'pip' @@ -40,7 +40,7 @@ jobs: touch build/sphinx/html/.nojekyll - name: Upload artifact - uses: actions/upload-pages-artifact@v1 + uses: actions/upload-pages-artifact@v3 with: path: build/sphinx/html @@ -51,6 +51,10 @@ jobs: runs-on: ubuntu-latest needs: build + permissions: + pages: write + id-token: write + steps: - name: Deploy to GitHub Pages id: deployment diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 8b246c2..48921ef 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -17,10 +17,10 @@ jobs: steps: - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Set up Python 3.11 - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: "3.11" cache: 'pip' @@ -50,10 +50,13 @@ jobs: sha512sum dist/* tar -ztf dist/*.tar.gz | sort - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: name: results path: dist/* + if-no-files-found: error + compression-level: 0 + overwrite: true - name: publish uses: pypa/gh-action-pypi-publish@release/v1 diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index b1a8cbe..8f1f818 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -26,10 +26,10 @@ jobs: steps: - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} cache: 'pip' @@ -61,5 +61,5 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - uses: psf/black@stable -- cgit v1.2.3-65-gdbad