diff --git a/.github/workflows/autofix.yml b/.github/workflows/autofix.yml index 2f8f7ec..02de086 100644 --- a/.github/workflows/autofix.yml +++ b/.github/workflows/autofix.yml @@ -30,7 +30,7 @@ jobs: - name: Install mise uses: jdx/mise-action@5083fe46898c414b2475087cc79da59e7da859e8 # v2.1.11 with: - version: 2024.12.24 + version: 2025.1.0 cache_save: ${{ github.ref_name == 'main' }} env: GITHUB_TOKEN: ${{ github.token }} diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index fe264e3..8e79903 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -36,7 +36,7 @@ jobs: - name: Install mise uses: jdx/mise-action@5083fe46898c414b2475087cc79da59e7da859e8 # v2.1.11 with: - version: 2024.12.24 + version: 2025.1.0 cache_save: ${{ github.ref_name == 'main' }} env: GITHUB_TOKEN: ${{ github.token }} @@ -74,7 +74,7 @@ jobs: - name: Install mise uses: jdx/mise-action@5083fe46898c414b2475087cc79da59e7da859e8 # v2.1.11 with: - version: 2024.12.24 + version: 2025.1.0 cache_save: ${{ github.ref_name == 'main' }} env: GITHUB_TOKEN: ${{ github.token }} @@ -100,7 +100,7 @@ jobs: - name: Install mise uses: jdx/mise-action@5083fe46898c414b2475087cc79da59e7da859e8 # v2.1.11 with: - version: 2024.12.24 + version: 2025.1.0 cache_save: ${{ github.ref_name == 'main' }} env: GITHUB_TOKEN: ${{ github.token }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 86a8d2d..9a8e760 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -30,7 +30,7 @@ jobs: - name: Install mise uses: jdx/mise-action@5083fe46898c414b2475087cc79da59e7da859e8 # v2.1.11 with: - version: 2024.12.24 + version: 2025.1.0 cache_save: ${{ github.ref_name == 'main' }} env: GITHUB_TOKEN: ${{ github.token }} diff --git a/mise.toml b/mise.toml index 28fef09..cf68e66 100644 --- a/mise.toml +++ b/mise.toml @@ -1,7 +1,7 @@ # ref: https://mise.jdx.dev/configuration.html #:schema https://mise.jdx.dev/schema/mise.json -min_version = "2024.12.24" +min_version = "2025.1.0" [tools] bun = "1.1.42" @@ -23,7 +23,7 @@ taplo = "0.9.3" "npm:prettier" = "3.4.2" yamlfmt = "0.14.0" yamllint = "1.35.1" -"npm:renovate" = "39.86.4" +"npm:renovate" = "39.87.0" "npm:cspell" = "8.17.1" "cargo:lychee" = "0.18.0" typos = "1.29.0" diff --git a/src/default.json5 b/src/default.json5 index e62b4da..97df311 100644 --- a/src/default.json5 +++ b/src/default.json5 @@ -22,14 +22,12 @@ { customType: "regex", description: "Updates tool versions in mise.toml (default registry)", - // prettier-ignore - fileMatch: ["mise\.toml", "mise/config\\.toml"], + fileMatch: ["(^|/)\\.?mise\\.toml$", "(^|/)\\.?mise/config\\.toml$"], // cspell:ignore datasource datasourceTemplate: "{{#unless datasource}}github-releases{{else}}{{datasource}}{{/unless}}", matchStrings: [ // test: https://regex101.com/r/8grHta - // prettier-ignore - "# renovate:(?: datasource=(?.+?))?(?: packageName=(?.+?))?(?: versioning=(?.+?))?(?: extractVersion=(?.+?))?\\n\"?(?[^:]+?)\"? *= *\"(?.+?)\"", + '# renovate:(?: datasource=(?.+?))?(?: packageName=(?.+?))?(?: versioning=(?.+?))?(?: extractVersion=(?.+?))?\\n"?(?[^:]+?)"? *= *"(?.+?)"', ], }, // renovate does not support backends @@ -37,50 +35,41 @@ { customType: "regex", description: "Updates tool versions in mise.toml (Cargo backend)", - // prettier-ignore - fileMatch: ["mise\.toml", "mise/config\\.toml"], + fileMatch: ["(^|/)\\.?mise\\.toml$", "(^|/)\\.?mise/config\\.toml$"], datasourceTemplate: "crate", matchStrings: [ // test: https://regex101.com/r/K6Imdx - // prettier-ignore - "\"cargo:(?.+?)\" *= *\"(?.+?)\"", + '"cargo:(?.+?)" *= *"(?.+?)"', ], }, { customType: "regex", description: "Updates tool versions in mise.toml (npm backend)", - // prettier-ignore - fileMatch: ["mise\.toml", "mise/config\\.toml"], + fileMatch: ["(^|/)\\.?mise\\.toml$", "(^|/)\\.?mise/config\\.toml$"], datasourceTemplate: "npm", matchStrings: [ // test: https://regex101.com/r/avOpdb - // prettier-ignore - "\"npm:(?.+?)\" *= *\"(?.+?)\"", + '"npm:(?.+?)" *= *"(?.+?)"', ], }, { customType: "regex", description: "Updates tool versions in mise.toml (ubi, aqua backend)", - // prettier-ignore - fileMatch: ["mise\.toml", "mise/config\\.toml"], + fileMatch: ["(^|/)\\.?mise\\.toml$", "(^|/)\\.?mise/config\\.toml$"], datasourceTemplate: "github-releases", matchStrings: [ // test: https://regex101.com/r/RRA3NI - // prettier-ignore - "(?:# renovate: extractVersion=(?.+?)\\n)?\"(?:ubi|aqua):(?.+?)\" *= *\".*?(?\\d+\\..+?)\"", + '(?:# renovate: extractVersion=(?.+?)\\n)?"(?:ubi|aqua):(?.+?)" *= *".*?(?\\d+\\..+?)"', ], }, { customType: "regex", description: "Updates min_version in mise config", - fileMatch: ["mise\\.toml", "mise/config\\.toml"], + fileMatch: ["(^|/)\\.?mise\\.toml$", "(^|/)\\.?mise/config\\.toml$"], datasourceTemplate: "github-releases", depNameTemplate: "mise", packageNameTemplate: "jdx/mise", - matchStrings: [ - // prettier-ignore - "min_version = \"(?.+)\"", - ], + matchStrings: ['min_version = "(?.+)"'], }, { customType: "regex", @@ -89,10 +78,7 @@ datasourceTemplate: "github-releases", depNameTemplate: "mise", packageNameTemplate: "jdx/mise", - matchStrings: [ - // prettier-ignore - "version: (?.+)", - ], + matchStrings: ["version: (?.+)"], }, ], packageRules: [