From 8c6a5bf16439982f05d5a24acd6f9a891133ec90 Mon Sep 17 00:00:00 2001
From: Harshavardhana <harsha@minio.io>
Date: Fri, 13 Dec 2024 15:19:06 -0800
Subject: [PATCH] add aistor to CI to validate new full-object checksums

---
 .github/workflows/go-windows.yml |  4 ++--
 .github/workflows/go.yml         | 10 ++++------
 2 files changed, 6 insertions(+), 8 deletions(-)

diff --git a/.github/workflows/go-windows.yml b/.github/workflows/go-windows.yml
index ae6e8993c..1e3d1db8f 100644
--- a/.github/workflows/go-windows.yml
+++ b/.github/workflows/go-windows.yml
@@ -21,13 +21,13 @@ jobs:
         os: [windows-latest]
     steps:
       - name: Set up Go ${{ matrix.go-version }} on ${{ matrix.os }}
-        uses: actions/setup-go@v1
+        uses: actions/setup-go@v5
         with:
           go-version: ${{ matrix.go-version }}
         id: go
 
       - name: Check out code into the Go module directory
-        uses: actions/checkout@v1
+        uses: actions/checkout@v4
 
       - name: Build on ${{ matrix.os }}
         env:
diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml
index eb73d14fd..0dc76b80f 100644
--- a/.github/workflows/go.yml
+++ b/.github/workflows/go.yml
@@ -20,15 +20,13 @@ jobs:
         go-version: [1.22.x, 1.23.x]
         os: [ubuntu-latest]
     steps:
+      - uses: actions/checkout@v4
       - name: Set up Go ${{ matrix.go-version }} on ${{ matrix.os }}
-        uses: actions/setup-go@v1
+        uses: actions/setup-go@v5
         with:
           go-version: ${{ matrix.go-version }}
         id: go
 
-      - name: Check out code into the Go module directory
-        uses: actions/checkout@v1
-
       - name: Build on ${{ matrix.os }}
         env:
           MINT_MODE: full
@@ -37,13 +35,13 @@ jobs:
           SECRET_KEY: minioadmin
           ENABLE_HTTPS: 1
           MINIO_KMS_MASTER_KEY: my-minio-key:6368616e676520746869732070617373776f726420746f206120736563726574
+          MINIO_LICENSE: ${{ secrets.MINIO_LICENSE }}
           SSL_CERT_FILE: /tmp/certs-dir/public.crt
           MINIO_CI_CD: true
-          MINT_NO_FULL_OBJECT: true
         run: |
           sudo apt update -y
           sudo apt install devscripts -y
-          wget -O /tmp/minio https://dl.minio.io/server/minio/release/linux-amd64/minio
+          wget -O /tmp/minio https://dl.minio.io/aistor/minio/release/linux-amd64/minio
           chmod +x /tmp/minio
           mkdir -p /tmp/certs-dir
           cp testcerts/* /tmp/certs-dir