github.com/minio/minio@v0.0.0-20240328213742-3f72439b8a27/.github/workflows/go.yml (about)

     1  name: Functional Tests
     2  
     3  on:
     4    pull_request:
     5      branches:
     6      - master
     7      - next
     8  
     9  # This ensures that previous jobs for the PR are canceled when the PR is
    10  # updated.
    11  concurrency:
    12    group: ${{ github.workflow }}-${{ github.head_ref }}
    13    cancel-in-progress: true
    14  
    15  permissions:
    16    contents: read
    17  
    18  jobs:
    19    build:
    20      name: Go ${{ matrix.go-version }} on ${{ matrix.os }} - healing
    21      runs-on: ${{ matrix.os }}
    22      strategy:
    23        matrix:
    24          go-version: [1.21.x]
    25          os: [ubuntu-latest]
    26      steps:
    27        - uses: actions/checkout@v3
    28        - uses: actions/setup-go@v3
    29          with:
    30            go-version: ${{ matrix.go-version }}
    31            check-latest: true
    32        - name: Build on ${{ matrix.os }}
    33          if: matrix.os == 'ubuntu-latest'
    34          env:
    35            CGO_ENABLED: 0
    36            GO111MODULE: on
    37            MINIO_KMS_SECRET_KEY: "my-minio-key:OSMM+vkKUTCvQs9YL/CVMIMt43HFhkUpqJxTmGl6rYw="
    38            MINIO_KMS_AUTO_ENCRYPTION: on
    39          run: |
    40            sudo sysctl net.ipv6.conf.all.disable_ipv6=0
    41            sudo sysctl net.ipv6.conf.default.disable_ipv6=0
    42            make verify