diff --git a/.github/workflows/python-docs.yml b/.github/workflows/python-docs.yml index cee7910..37d41d9 100644 --- a/.github/workflows/python-docs.yml +++ b/.github/workflows/python-docs.yml @@ -13,8 +13,8 @@ jobs: deploy: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - uses: actions/setup-python@v2 + - uses: actions/checkout@v4 + - uses: actions/setup-python@v5 with: python-version: 3.x @@ -24,4 +24,4 @@ jobs: python -m pip install -r docs/requirements-dev.txt - name: Build and deploy - run: mkdocs gh-deploy --force --clean --verbose \ No newline at end of file + run: mkdocs gh-deploy --force --clean --verbose diff --git a/.github/workflows/python-publish.yml b/.github/workflows/python-publish.yml index 3b30e7f..3f7b4b7 100644 --- a/.github/workflows/python-publish.yml +++ b/.github/workflows/python-publish.yml @@ -16,16 +16,15 @@ jobs: id-token: write steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Set up Python - uses: actions/setup-python@v2 + uses: actions/setup-python@v5 with: python-version: '3.x' - name: Install dependencies run: | - python -m pip install --upgrade pip - python -m pip install build + python -m pip install --upgrade pip build - name: Build package run: python -m build - - name: Publish package - uses: pypa/gh-action-pypi-publish@v1.8.5 + - name: Publish package to PyPI + uses: pypa/gh-action-pypi-publish@release/v1 diff --git a/.github/workflows/python-pytest.yml b/.github/workflows/python-pytest.yml index f1de80f..94042f5 100644 --- a/.github/workflows/python-pytest.yml +++ b/.github/workflows/python-pytest.yml @@ -19,7 +19,7 @@ jobs: steps: - 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" @@ -35,7 +35,9 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - uses: actions/setup-python@v4 + - uses: actions/setup-python@v5 + with: + python-version: "3.x" - run: python -m pip install --upgrade pip build - name: Build package run: | @@ -46,7 +48,9 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - uses: actions/setup-python@v4 + - uses: actions/setup-python@v5 + with: + python-version: "3.x" - run: python -m pip install --upgrade pip ruff - name: Lint with Ruff run: |