Skip to content

Commit

Permalink
🐛 🧑‍💻 Pin Mise in CICD (#1197)
Browse files Browse the repository at this point in the history
* Overwrite the project `.mise.toml` in the Style Check workflow
* Pin Mise to `2024.11.19` in CICD
* Bump Tailscale, Helm, and Helmfile
  • Loading branch information
rblaine95 authored Nov 21, 2024
1 parent e587130 commit bd1f06e
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 12 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/continuous-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
23 changes: 14 additions & 9 deletions .github/workflows/style-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,20 +12,25 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: Overwrite .mise.toml # It's not needed in this workflow
run: |
cat <<EOF > .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
Expand Down

0 comments on commit bd1f06e

Please sign in to comment.