diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 05af074..7f5191e 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -24,7 +24,7 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v6 - name: Get Version id: version @@ -51,15 +51,15 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: submodules: true - name: Setup Docker - uses: docker/setup-buildx-action@v3 + uses: docker/setup-buildx-action@v4 - name: Login into Aliyun Container Registry - uses: docker/login-action@v3 + uses: docker/login-action@v4 with: registry: registry.cn-shanghai.aliyuncs.com username: ${{ secrets.ALI_CR_USERNAME }} @@ -73,13 +73,13 @@ jobs: echo "SCOPE=${{ env.GITHUB_REF_NAME }}-${{ matrix.platform }}" >> $GITHUB_OUTPUT - name: Generate Labels - uses: docker/metadata-action@v5 + uses: docker/metadata-action@v6 id: metadata with: images: ${{ steps.image.outputs.IMAGE }} - name: Build and Publish - uses: docker/build-push-action@v6 + uses: docker/build-push-action@v7 id: build with: context: . @@ -96,7 +96,7 @@ jobs: touch "/tmp/digests/${digest#sha256:}" - name: Upload digest - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v7 with: name: digests path: /tmp/digests/* @@ -114,19 +114,19 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v6 - name: Download digests - uses: actions/download-artifact@v4 + uses: actions/download-artifact@v8 with: name: digests path: /tmp/digests - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v3 + uses: docker/setup-buildx-action@v4 - name: Login into Aliyun Container Registry - uses: docker/login-action@v3 + uses: docker/login-action@v4 with: registry: registry.cn-shanghai.aliyuncs.com username: ${{ secrets.ALI_CR_USERNAME }} @@ -139,7 +139,7 @@ jobs: echo "IMAGE=${REPO,,}" >> $GITHUB_OUTPUT - name: Generate Tags - uses: docker/metadata-action@v5 + uses: docker/metadata-action@v6 id: metadata with: images: | diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index f7c9f3b..0797822 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -14,7 +14,7 @@ jobs: go_tests: runs-on: ubuntu-24.04 steps: - - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 + - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 with: persist-credentials: false @@ -30,7 +30,7 @@ jobs: uses: Homebrew/actions/setup-homebrew@master - name: Setup Homebrew cellar cache - uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3 + uses: actions/cache@cdf6c1fa76f9f475f3d7449005a359c84ca0f306 # v5.0.3 with: path: | /home/linuxbrew/.linuxbrew/Cellar @@ -51,7 +51,7 @@ jobs: brew bundle - name: Setup Golang caches - uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3 + uses: actions/cache@cdf6c1fa76f9f475f3d7449005a359c84ca0f306 # v5.0.3 with: path: | ~/.cache/go-build @@ -63,6 +63,6 @@ jobs: - name: Build run: pnpm build - - uses: dominikh/staticcheck-action@fe1dd0c3658873b46f8c9bb3291096a617310ca6 # v1.3.1 + - uses: dominikh/staticcheck-action@9716614d4101e79b4340dd97b10e54d68234e431 # v1.4.1 with: version: "latest"