diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 388d611e..8ff60352 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -17,16 +17,16 @@ jobs: fail-fast: false steps: - name: Git checkout - uses: actions/checkout@v4 + uses: actions/checkout@v6 - name: Setup Golang with cache - uses: magnetikonline/action-golang-cache@v5 + uses: actions/setup-go@v6 with: go-version-file: go.mod - name: Cache Redis binary id: cache-redis - uses: actions/cache@v4 + uses: actions/cache@v5 with: path: redis/bin key: redis-${{ matrix.redis-version }}-${{ runner.os }}-v1 @@ -46,7 +46,7 @@ jobs: - name: Cache Tair Modules id: cache-tair if: contains('5.0, 6.0, 7.0, 8.0', matrix.redis-version) - uses: actions/cache@v4 + uses: actions/cache@v5 with: path: tair-modules key: tair-modules-${{ runner.os }}-v1 @@ -68,7 +68,7 @@ jobs: run: sudo cp tair-modules/*.so /lib/ - name: Setup Python with cache - uses: actions/setup-python@v5 + uses: actions/setup-python@v6 with: python-version: '3.11' cache: 'pip' @@ -92,16 +92,16 @@ jobs: fail-fast: false steps: - name: Git checkout - uses: actions/checkout@v4 + uses: actions/checkout@v6 - name: Setup Golang with cache - uses: magnetikonline/action-golang-cache@v5 + uses: actions/setup-go@v6 with: go-version-file: go.mod - name: Cache Valkey binary id: cache-valkey - uses: actions/cache@v4 + uses: actions/cache@v5 with: path: valkey/bin key: valkey-${{ matrix.valkey-version }}-${{ runner.os }}-v1 @@ -119,7 +119,7 @@ jobs: run: echo "$GITHUB_WORKSPACE/valkey/bin" >> $GITHUB_PATH - name: Setup Python with cache - uses: actions/setup-python@v5 + uses: actions/setup-python@v6 with: python-version: '3.11' cache: 'pip' diff --git a/.github/workflows/docker-publish.yml b/.github/workflows/docker-publish.yml index 12043156..fca1a6de 100644 --- a/.github/workflows/docker-publish.yml +++ b/.github/workflows/docker-publish.yml @@ -14,16 +14,16 @@ jobs: packages: write steps: - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v6 - name: Set up QEMU - uses: docker/setup-qemu-action@v3 + uses: docker/setup-qemu-action@v4 - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v3 + uses: docker/setup-buildx-action@v4 - name: Login to GitHub Container Registry - uses: docker/login-action@v3 + uses: docker/login-action@v4 with: registry: ghcr.io username: ${{ github.actor }} @@ -31,7 +31,7 @@ jobs: - name: Extract metadata for Docker id: meta - uses: docker/metadata-action@v4 + uses: docker/metadata-action@v6 with: images: ghcr.io/${{ github.repository }} tags: | @@ -39,9 +39,9 @@ jobs: type=raw,value=latest - name: Build and push Docker image - uses: docker/build-push-action@v6 + uses: docker/build-push-action@v7 with: platforms: linux/amd64,linux/arm64 push: true tags: ${{ steps.meta.outputs.tags }} - labels: ${{ steps.meta.outputs.labels }} \ No newline at end of file + labels: ${{ steps.meta.outputs.labels }} diff --git a/.github/workflows/pages.yml b/.github/workflows/pages.yml index 8e309082..5451867e 100644 --- a/.github/workflows/pages.yml +++ b/.github/workflows/pages.yml @@ -29,15 +29,15 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v6 - name: Setup Node - uses: actions/setup-node@v3 + uses: actions/setup-node@v6 with: node-version: 18 cache: npm cache-dependency-path: docs/package-lock.json - name: Setup Pages - uses: actions/configure-pages@v3 + uses: actions/configure-pages@v6 - name: Install dependencies run: npm ci # or pnpm install / yarn install working-directory: docs @@ -45,7 +45,7 @@ jobs: run: npm run docs:build # or pnpm docs:build / yarn docs:build working-directory: docs - name: Upload artifact - uses: actions/upload-pages-artifact@v3 + uses: actions/upload-pages-artifact@v5 with: path: docs/.vitepress/dist @@ -60,4 +60,4 @@ jobs: steps: - name: Deploy to GitHub Pages id: deployment - uses: actions/deploy-pages@v4 + uses: actions/deploy-pages@v5 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 9c1ce13a..95a605e0 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -17,19 +17,19 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: fetch-depth: 0 - name: Setup Golang with cache - uses: magnetikonline/action-golang-cache@v4 + uses: actions/setup-go@v6 with: go-version-file: go.mod - name: "Draft release" id: "release" if: github.event_name == 'workflow_dispatch' - uses: release-drafter/release-drafter@v6 + uses: release-drafter/release-drafter@v7 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} @@ -86,7 +86,7 @@ jobs: ls -la redis-shake-${VERSION}-*.tar.gz - name: Upload Release Assets - uses: softprops/action-gh-release@v1 + uses: softprops/action-gh-release@v3 with: # For tag-triggered builds, these will be auto-detected # For manual builds, use release drafter outputs @@ -103,4 +103,4 @@ jobs: ./bin/redis-shake-${{ github.event_name == 'push' && github.ref_name || steps.release.outputs.tag_name }}-windows-amd64.tar.gz ./bin/redis-shake-${{ github.event_name == 'push' && github.ref_name || steps.release.outputs.tag_name }}-windows-arm64.tar.gz env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}