diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 554c6346..dc123268 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -16,13 +16,13 @@ jobs: os: [ubuntu-latest, macOS-latest, windows-latest] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v2 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} - name: Cache pip - uses: actions/cache@v2 + uses: actions/cache@v4 with: path: ${{ env.pythonLocation }} # Look to see if there is a cache hit for the corresponding requirements file @@ -86,7 +86,7 @@ jobs: coverage report coverage html - name: Upload coverage report - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: coverage-${{ matrix.os}}-${{ matrix.python-version }}.html path: htmlcov/index.html diff --git a/.github/workflows/python-publish.yml b/.github/workflows/python-publish.yml index 11546ec9..803f572a 100644 --- a/.github/workflows/python-publish.yml +++ b/.github/workflows/python-publish.yml @@ -19,11 +19,11 @@ jobs: steps: - name: Fetch repo - uses: actions/checkout@v2 + uses: actions/checkout@v4 with: fetch-depth: 0 - name: Set up Python - uses: actions/setup-python@v2 + uses: actions/setup-python@v5 with: python-version: '3.x' - name: Install dependencies @@ -33,7 +33,7 @@ jobs: - name: Build package run: python -m build - name: Publish package - uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29 + uses: pypa/gh-action-pypi-publish@v1.8.14 with: user: __token__ password: ${{ secrets.PYPI_TOKEN }} diff --git a/.github/workflows/python-test-publish-all.yml b/.github/workflows/python-test-publish-all.yml index b4d46991..696003b3 100644 --- a/.github/workflows/python-test-publish-all.yml +++ b/.github/workflows/python-test-publish-all.yml @@ -22,11 +22,11 @@ jobs: if: ${{ github.event.workflow_run.conclusion == 'success' }} steps: - name: Fetch repo - uses: actions/checkout@v2 + uses: actions/checkout@v4 with: fetch-depth: 0 - name: Set up Python - uses: actions/setup-python@v2 + uses: actions/setup-python@v5 with: python-version: '3.x' - name: Install dependencies @@ -39,7 +39,7 @@ jobs: - name: Build package run: python -m build - name: Publish package - uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29 + uses: pypa/gh-action-pypi-publish@v1.8.14 with: user: __token__ password: ${{ secrets.TEST_PYPI_TOKEN }}