浏览代码

ci: bump `actions/checkout` version (#12210)

Raphael Boidol 3 月之前
父节点
当前提交
f9bbf6047b
共有 2 个文件被更改,包括 3 次插入3 次删除
  1. 2 2
      .github/workflows/installer.yml
  2. 1 1
      .github/workflows/main.yml

+ 2 - 2
.github/workflows/installer.yml

@@ -26,7 +26,7 @@ jobs:
           - macos-latest
           - macos-latest
     steps:
     steps:
       - name: Set up git repository
       - name: Set up git repository
-        uses: actions/checkout@v3
+        uses: actions/checkout@v4
       - name: Install zsh
       - name: Install zsh
         if: runner.os == 'Linux'
         if: runner.os == 'Linux'
         run: sudo apt-get update; sudo apt-get install zsh
         run: sudo apt-get update; sudo apt-get install zsh
@@ -42,7 +42,7 @@ jobs:
       - test
       - test
     steps:
     steps:
       - name: Checkout
       - name: Checkout
-        uses: actions/checkout@v3
+        uses: actions/checkout@v4
       - name: Install Vercel CLI
       - name: Install Vercel CLI
         run: npm install -g vercel
         run: npm install -g vercel
       - name: Setup project and deploy
       - name: Setup project and deploy

+ 1 - 1
.github/workflows/main.yml

@@ -24,7 +24,7 @@ jobs:
     if: github.repository == 'ohmyzsh/ohmyzsh'
     if: github.repository == 'ohmyzsh/ohmyzsh'
     steps:
     steps:
       - name: Set up git repository
       - name: Set up git repository
-        uses: actions/checkout@v3
+        uses: actions/checkout@v4
       - name: Install zsh
       - name: Install zsh
         run: sudo apt-get update; sudo apt-get install zsh
         run: sudo apt-get update; sudo apt-get install zsh
       - name: Check syntax
       - name: Check syntax