diff --git a/.github/workflows/build-and-deploy.yml b/.github/workflows/build-and-deploy.yml index d3b802d..101fe26 100644 --- a/.github/workflows/build-and-deploy.yml +++ b/.github/workflows/build-and-deploy.yml @@ -3,7 +3,7 @@ name: Build and deploy images on: schedule: # rebuild every 20th day of the month at 12:24 UTC - - cron: '24 12 20 * *' + - cron: "24 12 20 * *" push: branches: - main @@ -27,11 +27,11 @@ jobs: run: echo "refname=$(echo "${{ github.ref_name }}" |sed 's/\//-/g')" >> $GITHUB_OUTPUT - id: clone-repository - uses: actions/checkout@v2 + uses: actions/checkout@v6 name: Clone git repository - id: docker-login - uses: seravo/actions/docker-login@v1.16.0 + uses: seravo/actions/docker-login@v1.17.1 name: Login to ghcr.io # To speed up builds, try to use previously built image as cache source. @@ -40,12 +40,12 @@ jobs: - if: ${{ github.event_name != 'schedule' }} name: Pull previously built image id: docker-pull - uses: seravo/actions/docker-pull-previous@v1.16.0 + uses: seravo/actions/docker-pull-previous@v1.17.1 with: image: "${{ env.image }}" - id: docker-build - uses: seravo/actions/docker-build@v1.16.0 + uses: seravo/actions/docker-build@v1.17.1 name: Build image with: image: "${{ env.image }}" @@ -53,20 +53,20 @@ jobs: - if: ${{ github.ref == 'refs/heads/main' }} name: Push new image to production id: docker-push-master - uses: seravo/actions/docker-push@v1.16.0 + uses: seravo/actions/docker-push@v1.17.1 with: image: "${{ env.image }}" - id: docker-tag-push-commit name: Tag image with commit id - uses: seravo/actions/docker-tag-and-push@v1.16.0 + uses: seravo/actions/docker-tag-and-push@v1.17.1 with: source: "${{ env.image }}" target: "${{ env.image }}:${{ github.sha }}" - id: docker-tag-push-refname name: Tag image with refname - uses: seravo/actions/docker-tag-and-push@v1.16.0 + uses: seravo/actions/docker-tag-and-push@v1.17.1 with: source: "${{ env.image }}" target: "${{ env.image }}:${{ steps.refname.outputs.refname }}" diff --git a/.github/workflows/format.yml b/.github/workflows/format.yml index 5cd3d20..3a0a1f3 100644 --- a/.github/workflows/format.yml +++ b/.github/workflows/format.yml @@ -13,10 +13,10 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout repository - uses: actions/checkout@v4 + uses: actions/checkout@v6 - name: Run Ruff id: format - uses: seravo/actions/pyruff-format@v1.16.0 + uses: seravo/actions/pyruff-format@v1.17.1 with: dev_requirements_path: dev-requirements.txt diff --git a/.github/workflows/gitlint.yml b/.github/workflows/gitlint.yml index 206972d..2b835b2 100644 --- a/.github/workflows/gitlint.yml +++ b/.github/workflows/gitlint.yml @@ -1,5 +1,5 @@ --- -name: 'Nitpick git commits' +name: "Nitpick git commits" on: [push, pull_request] @@ -8,9 +8,9 @@ jobs: runs-on: ubuntu-latest steps: - name: Setup repository - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: - ref: ${{ github.head_ref }} + ref: ${{ github.head_ref }} - name: Execute git linting uses: seravo/gitlint@v1 diff --git a/.github/workflows/pytest.yml b/.github/workflows/pytest.yml index 87d6115..2bc1421 100644 --- a/.github/workflows/pytest.yml +++ b/.github/workflows/pytest.yml @@ -16,11 +16,11 @@ jobs: PYTHON_VERSION: ["3.12"] steps: - name: Checkout repository with submodules - uses: actions/checkout@v4 + uses: actions/checkout@v6 - name: Run tests id: tests - uses: seravo/actions/pytest@v1.16.0 + uses: seravo/actions/pytest@v1.17.1 with: python_version: ${{ matrix.PYTHON_VERSION }} requirements_path: requirements.txt diff --git a/.github/workflows/python-lint.yml b/.github/workflows/python-lint.yml index d88abb6..82c9e0c 100644 --- a/.github/workflows/python-lint.yml +++ b/.github/workflows/python-lint.yml @@ -13,10 +13,10 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout repository - uses: actions/checkout@v4 + uses: actions/checkout@v6 - name: Run ruff id: format - uses: seravo/actions/pyruff@v1.16.0 + uses: seravo/actions/pyruff@v1.17.1 with: dev_requirements_path: dev-requirements.txt