diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml index e0ded6c..2cbb47a 100644 --- a/.github/workflows/docker-image.yml +++ b/.github/workflows/docker-image.yml @@ -38,7 +38,7 @@ jobs: - { arch: arm64, platform: 'linux/arm64' } steps: - name: '检出代码' - uses: actions/checkout@v4 + uses: actions/checkout@v7 - name: 'Go 单元测试' uses: actions/setup-go@v5 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e72ed17..2afb024 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -38,7 +38,7 @@ jobs: publish: ${{ steps.vars.outputs.publish }} steps: - name: '检出代码' - uses: actions/checkout@v4 + uses: actions/checkout@v7 with: ref: ${{ inputs.tag || github.event.release.tag_name || github.ref }} @@ -82,7 +82,7 @@ jobs: - { target: windows-arm64, goos: windows, goarch: arm64, ext: .exe } steps: - name: '检出代码' - uses: actions/checkout@v4 + uses: actions/checkout@v7 with: ref: ${{ inputs.tag || github.event.release.tag_name || github.ref }} @@ -143,7 +143,7 @@ jobs: - { arch: arm64, platform: 'linux/arm64' } steps: - name: '检出代码' - uses: actions/checkout@v4 + uses: actions/checkout@v7 with: ref: ${{ inputs.tag || github.event.release.tag_name || github.ref }}