diff --git a/.github/workflows/doc.yml b/.github/workflows/doc.yml index 47708ff4..4e0a49d0 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 8b246c22..48921ef2 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 b1a8cbe5..8f1f818b 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