From bd1f06ea6365fd0a0d823e105d00ad9b419f4b57 Mon Sep 17 00:00:00 2001 From: Robbie Blaine <4052340+rblaine95@users.noreply.github.com> Date: Thu, 21 Nov 2024 16:40:16 +0200 Subject: [PATCH] :bug: :technologist: Pin Mise in CICD (#1197) * Overwrite the project `.mise.toml` in the Style Check workflow * Pin Mise to `2024.11.19` in CICD * Bump Tailscale, Helm, and Helmfile --- .github/workflows/continuous-deploy.yml | 11 ++++++++--- .github/workflows/style-check.yml | 23 ++++++++++++++--------- 2 files changed, 22 insertions(+), 12 deletions(-) diff --git a/.github/workflows/continuous-deploy.yml b/.github/workflows/continuous-deploy.yml index fead9b3f7..f282a689c 100644 --- a/.github/workflows/continuous-deploy.yml +++ b/.github/workflows/continuous-deploy.yml @@ -38,9 +38,10 @@ concurrency: cancel-in-progress: false env: - TAILSCALE_VERSION: 1.76.0 - HELMFILE_VERSION: v0.169.0 - HELM_VERSION: v3.16.2 + TAILSCALE_VERSION: 1.76.6 + HELMFILE_VERSION: v0.169.1 + HELM_VERSION: v3.16.3 + MISE_VERSION: 2024.11.19 jobs: build: @@ -178,6 +179,7 @@ jobs: - name: Set up Mise uses: jdx/mise-action@v2 with: + version: ${{ env.MISE_VERSION }} cache: true experimental: true # Required for mise tasks install: true @@ -221,6 +223,7 @@ jobs: - name: Set up Mise uses: jdx/mise-action@v2 with: + version: ${{ env.MISE_VERSION }} cache: true experimental: true # Required for mise tasks install: true @@ -472,6 +475,7 @@ jobs: - name: Set up Mise uses: jdx/mise-action@v2 with: + version: ${{ env.MISE_VERSION }} cache: true experimental: true # Required for mise tasks install: true @@ -685,6 +689,7 @@ jobs: - name: Set up Mise uses: jdx/mise-action@v2 with: + version: ${{ env.MISE_VERSION }} cache: true experimental: true # Required for mise tasks install: true diff --git a/.github/workflows/style-check.yml b/.github/workflows/style-check.yml index 02f7afb19..a255eac98 100644 --- a/.github/workflows/style-check.yml +++ b/.github/workflows/style-check.yml @@ -12,20 +12,25 @@ jobs: steps: - uses: actions/checkout@v4 + - name: Overwrite .mise.toml # It's not needed in this workflow + run: | + cat < .mise.toml + [tools] + "pipx:black" = "24.10" + "pipx:isort" = "5.13" + python = "3.12" + uv = "0.4" + + [settings] + pipx_uvx = true + EOF + - name: Install dependencies uses: jdx/mise-action@v2 with: cache: true experimental: true - mise_toml: | - [tools] - "pipx:black" = "24.10" - "pipx:isort" = "5.13" - python = "3.12" - uv = "0.4" - - [settings] - pipx_uvx = true + install: true - name: Check import style with isort run: isort . --check --profile black --diff