Debian Codegraph @

.github/workflows/go-windows.yml

raw symbols SCIP
1 name: Build (Windows)
2
3 on:
4 pull_request:
5 branches:
6 - master
7
8 # This ensures that previous jobs for the PR are canceled when the PR is
9 # updated.
10 concurrency:
11 group: ${{ github.workflow }}-${{ github.head_ref }}
12 cancel-in-progress: true
13
14 jobs:
15 build:
16 name: Test on Go ${{ matrix.go-version }} and ${{ matrix.os }}
17 runs-on: ${{ matrix.os }}
18 strategy:
19 matrix:
20 go-version: [1.25.x, 1.26.x]
21 os: [windows-latest]
22 steps:
23 - name: Set up Go ${{ matrix.go-version }} on ${{ matrix.os }}
24 uses: actions/setup-go@v5
25 with:
26 go-version: ${{ matrix.go-version }}
27 id: go
28
29 - name: Check out code into the Go module directory
30 uses: actions/checkout@v4
31
32 - name: Build on ${{ matrix.os }}
33 env:
34 MINT_MODE: core
35 SERVER_ENDPOINT: localhost:9000
36 ACCESS_KEY: minioadmin
37 SECRET_KEY: minioadmin
38 ENABLE_HTTPS: 1
39 MINIO_KMS_MASTER_KEY: my-minio-key:6368616e676520746869732070617373776f726420746f206120736563726574
40 MINIO_CI_CD: true
41 MINT_NO_FULL_OBJECT: true
42 run: |
43 New-Item -ItemType Directory -Path "$env:temp/certs-dir"
44 Copy-Item -Path testcerts\* -Destination "$env:temp/certs-dir"
45 Invoke-WebRequest -Uri https://dl.minio.io/server/minio/release/windows-amd64/minio.exe -OutFile $HOME/minio.exe
46 Start-Process -NoNewWindow -FilePath "$HOME/minio.exe" -ArgumentList "-S", "$env:temp/certs-dir", "server", "$env:temp/fs{1...4}"
47 $env:SSL_CERT_FILE = "$env:temp/certs-dir/public.crt"
48 go run functional_tests.go