Skip to content

Commit 71e5ed8

Browse files
committed
chore(release): use checkout v6 in publish template
1 parent 8a99d47 commit 71e5ed8

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

crates/vite_global_cli/src/commands/release/first_publish.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -894,6 +894,7 @@ mod tests {
894894
let created = std::fs::read_to_string(cwd.join(".github/workflows/publish.yml")).unwrap();
895895
assert!(guidance.workflow_template_created);
896896
assert!(created.contains("workflow_dispatch:"));
897+
assert!(created.contains("uses: actions/checkout@v6"));
897898
assert!(created.contains("<default-branch>"));
898899
assert!(created.contains("<release-tag-pattern>"));
899900
assert!(created.contains("run: corepack enable"));

crates/vite_global_cli/src/commands/release/templates/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
runs-on: ubuntu-latest
2525
steps:
2626
- name: Checkout
27-
uses: actions/checkout@v4
27+
uses: actions/checkout@v6
2828
with:
2929
fetch-depth: 0
3030
fetch-tags: true

0 commit comments

Comments
 (0)