diff --git a/.github/workflows/alpha-publish.yml b/.github/workflows/alpha-publish.yml index b6df34208a..31f31447df 100644 --- a/.github/workflows/alpha-publish.yml +++ b/.github/workflows/alpha-publish.yml @@ -12,30 +12,30 @@ jobs: steps: - name: Checkout code - uses: actions/checkout@v6 + uses: actions/checkout@v7 with: ref: "main" - name: Docker metadata id: meta - uses: docker/metadata-action@v5.10.0 + uses: docker/metadata-action@v6.2.0 with: images: ${{ secrets.DOCKER_REGISTRY_IDENTIFER }}/hyperion tags: | type=raw,value=alpha - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v3.11.1 + uses: docker/setup-buildx-action@v4.2.0 - name: Login to GitHub Container Registry - uses: docker/login-action@v3.6.0 + uses: docker/login-action@v4.6.0 with: registry: ${{ secrets.DOCKER_REGISTRY_URL }} username: ${{ secrets.DOCKER_REGISTRY_USERNAME }} password: ${{ secrets.DOCKER_REGISTRY_PASSWORD }} - name: Build and push alpha image - uses: docker/build-push-action@v6.18.0 + uses: docker/build-push-action@v7.3.0 with: context: . platforms: linux/amd64 #,linux/arm64 diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 8215811cc2..245c95c999 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -22,7 +22,7 @@ jobs: build-mode: none steps: - name: Checkout repository - uses: actions/checkout@v6 + uses: actions/checkout@v7 - name: Initialize CodeQL uses: github/codeql-action/init@v4 with: diff --git a/.github/workflows/lintandformat.yml b/.github/workflows/lintandformat.yml index 05e36a8c53..8122d35265 100644 --- a/.github/workflows/lintandformat.yml +++ b/.github/workflows/lintandformat.yml @@ -12,18 +12,18 @@ jobs: steps: - name: Check out the code - uses: actions/checkout@v6 + uses: actions/checkout@v7 # Setup Python (faster than using Python container) - name: Setup Python - uses: actions/setup-python@v6 + uses: actions/setup-python@v7 id: setup-python with: python-version-file: .python-version - name: Cache uv folder id: cache-uv - uses: actions/cache@v4.3.0 + uses: actions/cache@v6.1.0 with: path: ~/.cache/uv key: ${{ runner.os }}-python-${{ steps.setup-python.outputs.python-version }}-uv-${{ hashFiles('requirements.txt', 'requirements-dev.txt') }} @@ -36,7 +36,7 @@ jobs: - name: Cache .ruff_cache folder id: ruff_cache - uses: actions/cache@v4.3.0 + uses: actions/cache@v6.1.0 with: path: .ruff_cache key: ruff_cache-${{ github.head_ref }} @@ -48,7 +48,7 @@ jobs: - name: Cache .mypy_cache folder id: mypy_cache - uses: actions/cache@v4.3.0 + uses: actions/cache@v6.1.0 with: path: .mypy_cache key: mypy_cache-${{ github.head_ref }} diff --git a/.github/workflows/pr-dependencies.yml b/.github/workflows/pr-dependencies.yml index 6e897fd4a0..ea1f79aadd 100644 --- a/.github/workflows/pr-dependencies.yml +++ b/.github/workflows/pr-dependencies.yml @@ -13,7 +13,7 @@ jobs: pull-requests: read steps: - name: Checkout repository - uses: actions/checkout@v6 + uses: actions/checkout@v7 - name: Check PR Dependencies uses: gregsdennis/dependencies-action@main env: diff --git a/.github/workflows/preprod-publish.yml b/.github/workflows/preprod-publish.yml index 18dafffb0f..029966b612 100644 --- a/.github/workflows/preprod-publish.yml +++ b/.github/workflows/preprod-publish.yml @@ -33,13 +33,13 @@ jobs: branch=$(curl -fs ${{ github.api_url }}/repos/${{ github.repository }}/pulls/${{ github.event.inputs.pr }} | jq -r '.head.ref') echo "branch=${branch:?'PR #${{ github.event.inputs.pr }} does not exist'}" >> "$GITHUB_OUTPUT" - name: Checkout code - uses: actions/checkout@v6 + uses: actions/checkout@v7 with: ref: ${{ steps.branch.outputs.branch }} - name: Docker metadata id: meta - uses: docker/metadata-action@v5.10.0 + uses: docker/metadata-action@v6.2.0 with: images: ${{ secrets.DOCKER_REGISTRY_IDENTIFER }}/hyperion tags: | @@ -51,17 +51,17 @@ jobs: preprod.pr=${{ github.event.inputs.pr }} - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v3.11.1 + uses: docker/setup-buildx-action@v4.2.0 - name: Login to GitHub Container Registry - uses: docker/login-action@v3.6.0 + uses: docker/login-action@v4.6.0 with: registry: ${{ secrets.DOCKER_REGISTRY_URL }} username: ${{ secrets.DOCKER_REGISTRY_USERNAME }} password: ${{ secrets.DOCKER_REGISTRY_PASSWORD }} - name: Build and push preprod image - uses: docker/build-push-action@v6.18.0 + uses: docker/build-push-action@v7.3.0 with: context: . platforms: linux/amd64 #,linux/arm64 diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index da9e0af953..903c3bc830 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -12,11 +12,11 @@ jobs: steps: - name: Check out the code - uses: actions/checkout@v6 + uses: actions/checkout@v7 - name: Docker metadata id: meta - uses: docker/metadata-action@v5.10.0 + uses: docker/metadata-action@v6.2.0 with: images: ${{ secrets.DOCKER_REGISTRY_IDENTIFER }}/hyperion tags: | @@ -25,17 +25,17 @@ jobs: type=raw,value=latest - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v3.11.1 + uses: docker/setup-buildx-action@v4.2.0 - name: Login to GitHub Container Registry - uses: docker/login-action@v3.6.0 + uses: docker/login-action@v4.6.0 with: registry: ${{ secrets.DOCKER_REGISTRY_URL }} username: ${{ secrets.DOCKER_REGISTRY_USERNAME }} password: ${{ secrets.DOCKER_REGISTRY_PASSWORD }} - name: Build and push app - uses: docker/build-push-action@v6.18.0 + uses: docker/build-push-action@v7.3.0 with: context: . platforms: linux/amd64 #,linux/arm64 diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 7e18ff203d..741fd376e0 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -51,7 +51,7 @@ jobs: steps: - name: Check out the code - uses: actions/checkout@v6 + uses: actions/checkout@v7 - name: Fetch full main branch history # We don't known the the base commit of the PR run: git fetch origin main --unshallow @@ -73,14 +73,14 @@ jobs: # Setup Python (faster than using Python container) - name: Setup Python - uses: actions/setup-python@v6 + uses: actions/setup-python@v7 id: setup-python with: python-version-file: .python-version - name: Cache uv folder id: cache-uv - uses: actions/cache@v4.3.0 + uses: actions/cache@v6.1.0 with: path: ~/.cache/uv key: ${{ runner.os }}-python-${{ steps.setup-python.outputs.python-version }}-uv-${{ hashFiles('requirements.txt', 'requirements-dev.txt') }} @@ -93,7 +93,7 @@ jobs: - name: Cache .pytest_cache folder id: pytest_cache - uses: actions/cache@v4.3.0 + uses: actions/cache@v6.1.0 with: path: .pytest_cache key: pytest_cache-${{ github.head_ref }} @@ -108,6 +108,6 @@ jobs: if: github.event_name == 'pull_request' - name: Upload coverage reports to Codecov - uses: codecov/codecov-action@v5.5.1 + uses: codecov/codecov-action@v7.0.0 env: CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}