diff --git a/.github/renovate.json b/.github/renovate.json index afa997cd1f..32879ac906 100644 --- a/.github/renovate.json +++ b/.github/renovate.json @@ -12,6 +12,16 @@ "vite/**" ], "customManagers": [ + { + "description": "Update the Nushell release used by CLI snapshot tests.", + "customType": "regex", + "managerFilePatterns": ["/^\\.github/workflows/ci\\.yml$/"], + "matchStrings": [ + "# renovate: datasource=github-releases depName=nushell/nushell\\s+version: '(?[^']+)'" + ], + "depNameTemplate": "nushell/nushell", + "datasourceTemplate": "github-releases" + }, { "description": "Keep the exact setup-vp migration target current.", "customType": "regex", diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 27b25b776a..34b5bb5c0b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1061,11 +1061,12 @@ jobs: "$snapshot_shell" --version done - # https://github.com/marketplace/actions/setup-nu + # Includes release lookup retries: https://github.com/hustcer/setup-nu/pull/225. - name: Install Nushell - uses: hustcer/setup-nu@ccd5bb5426b05a32009c2ba967946231f3919c97 # v3.25 + uses: hustcer/setup-nu@eacad52a4634c4f8d17a94916f93be6856861b9c # v3.29 with: - version: '*' + # renovate: datasource=github-releases depName=nushell/nushell + version: '0.116.1' - uses: ./.github/actions/setup-ci-node