diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml index a04964d..83b7f19 100644 --- a/.github/workflows/build-and-test.yml +++ b/.github/workflows/build-and-test.yml @@ -11,14 +11,14 @@ jobs: strategy: matrix: - python-version: ['3.9', '3.10', '3.11'] + python-version: ['3.9', '3.10', '3.11', '3.12'] steps: - name: Checkout repo - 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 }} diff --git a/.github/workflows/docker.yaml b/.github/workflows/docker.yaml index 8010e67..0c630d9 100644 --- a/.github/workflows/docker.yaml +++ b/.github/workflows/docker.yaml @@ -18,17 +18,17 @@ jobs: DEBIAN_FRONTEND: noninteractive - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 with: fetch-depth: 0 ref: ${{ github.event.pull_request.head.sha }} - name: Set up QEMU - uses: docker/setup-qemu-action@v1 + uses: docker/setup-qemu-action@v3 - name: Docker meta id: meta - uses: docker/metadata-action@v3 + uses: docker/metadata-action@v5 with: images: hif1/heisenbridge tags: | @@ -37,17 +37,17 @@ jobs: type=semver,pattern={{major}} - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v1 + uses: docker/setup-buildx-action@v3 - name: Login to DockerHub - uses: docker/login-action@v1 + uses: docker/login-action@v3 with: username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_TOKEN }} - name: Build and push id: docker_build - uses: docker/build-push-action@v2 + uses: docker/build-push-action@v6 with: context: . push: true diff --git a/.github/workflows/precommit.yaml b/.github/workflows/precommit.yaml index 925b8ac..7f579af 100644 --- a/.github/workflows/precommit.yaml +++ b/.github/workflows/precommit.yaml @@ -9,6 +9,6 @@ jobs: pre-commit: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - uses: actions/setup-python@v2 - - uses: pre-commit/action@v2.0.3 + - uses: actions/checkout@v4 + - uses: actions/setup-python@v5 + - uses: pre-commit/action@v3.0.1 diff --git a/.github/workflows/source-package.yml b/.github/workflows/source-package.yml index 00e082f..a5971ae 100644 --- a/.github/workflows/source-package.yml +++ b/.github/workflows/source-package.yml @@ -11,7 +11,7 @@ jobs: steps: - name: Checkout repo - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Get version tag id: get_tag @@ -20,7 +20,7 @@ jobs: echo "::set-output name=value::${GITHUB_REF#refs/tags/v}" - name: Set up Python 3.9 - uses: actions/setup-python@v2 + uses: actions/setup-python@v5 with: python-version: 3.9 @@ -32,13 +32,13 @@ jobs: python setup.py bdist_wheel - name: Upload archive - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: "heisenbridge-${{ steps.get_tag.outputs.value }}.tar.gz" path: "dist/heisenbridge-${{ steps.get_tag.outputs.value }}.tar.gz" - name: Upload tagged release - uses: softprops/action-gh-release@v1 + uses: softprops/action-gh-release@v2 with: tag_name: "v${{ steps.get_tag.outputs.value }}" files: | @@ -47,6 +47,6 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Publish to PyPI - uses: pypa/gh-action-pypi-publish@master + uses: pypa/gh-action-pypi-publish@release/v1 with: password: ${{ secrets.PYPI_API_TOKEN }}