mirror of
https://github.com/Myriad-Dreamin/tinymist.git
synced 2025-08-04 02:08:17 +00:00
feat(ci): setup and cache minimal toolchain (#1683)
* feat(ci): setup and cache minimal toolchain * dev: components * fix: broken rpds * fix: edition 2024??
This commit is contained in:
parent
6118b346d6
commit
1108b39e3f
8 changed files with 21 additions and 30 deletions
|
@ -3,7 +3,7 @@ import fs from "fs";
|
|||
const ciFile = fs.readFileSync(".github/workflows/ci.yml", "utf-8");
|
||||
|
||||
const toolchainRe = (forWhat) =>
|
||||
new RegExp(/dtolnay\/rust-toolchain@(\d+\.\d+\.\d+)/.source + `\\s*#\\s*${forWhat}`);
|
||||
new RegExp(/toolchain: (\d+\.\d+\.\d+)/.source + `\\s*#\\s*${forWhat}`);
|
||||
|
||||
const ciCheckedVersion = ciFile.match(toolchainRe("check-min-version"))?.[1];
|
||||
if (!ciCheckedVersion) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue