diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 722d5bfe0..2a62fcbb7 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -29,7 +29,7 @@ jobs: runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Install Go uses: actions/setup-go@v4 diff --git a/.github/workflows/lint-review.yaml b/.github/workflows/lint-review.yaml index 35365ca82..5dc51646d 100644 --- a/.github/workflows/lint-review.yaml +++ b/.github/workflows/lint-review.yaml @@ -13,7 +13,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Install Node LTS uses: actions/setup-node@v3 diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml index c3a2f8a34..e0d57a7a0 100644 --- a/.github/workflows/lint.yaml +++ b/.github/workflows/lint.yaml @@ -26,7 +26,7 @@ jobs: lint: runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Install Go uses: actions/setup-go@v4 diff --git a/.github/workflows/release-docker.yaml b/.github/workflows/release-docker.yaml index 8a6a1a775..a3293ce94 100644 --- a/.github/workflows/release-docker.yaml +++ b/.github/workflows/release-docker.yaml @@ -19,7 +19,7 @@ jobs: IMAGE: "ghcr.io/${{ github.repository_owner }}/chii" steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Install Go uses: actions/setup-go@v4 diff --git a/.github/workflows/release-openapi.yaml b/.github/workflows/release-openapi.yaml index 907277218..99213d456 100644 --- a/.github/workflows/release-openapi.yaml +++ b/.github/workflows/release-openapi.yaml @@ -10,7 +10,7 @@ jobs: openapi: runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: actions/setup-node@v3 with: node-version: 16 @@ -18,7 +18,7 @@ jobs: - run: npm ci - run: npm run build - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: repository: "bangumi/api" path: api @@ -35,7 +35,7 @@ jobs: branch: "update-upstream" author: "github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>" - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: repository: "bangumi/dev-docs" path: dev-docs diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 2efafffc1..e194dbf1e 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -9,7 +9,7 @@ jobs: github: runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 diff --git a/.github/workflows/test-openapi.yaml b/.github/workflows/test-openapi.yaml index d23f8c4f8..562e33c05 100644 --- a/.github/workflows/test-openapi.yaml +++ b/.github/workflows/test-openapi.yaml @@ -25,7 +25,7 @@ jobs: matrix: os: [ubuntu-latest, windows-latest] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: actions/setup-node@v3 with: node-version: "lts/*" diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 883c54ce3..0c52c7de4 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -29,7 +29,7 @@ jobs: - run: git clone https://github.com/bangumi/dev-env $HOME/dev-env - run: cd ~/dev-env && docker-compose up -d - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: submodules: recursive