Debian Codegraph @

.github/workflows/go.yml

raw symbols SCIP
1 name: Build (Linux)
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: [ubuntu-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: full
35 SERVER_ENDPOINT: localhost:9000
36 ACCESS_KEY: minioadmin
37 SECRET_KEY: minioadmin
38 ENABLE_HTTPS: 1
39 MINIO_KMS_SECRET_KEY: my-minio-key:OSMM+vkKUTCvQs9YL/CVMIMt43HFhkUpqJxTmGl6rYw=
40 SSL_CERT_FILE: /tmp/certs-dir/public.crt
41 MINIO_CI_CD: true
42 MINT_NO_FULL_OBJECT: true
43 run: |
44 sudo apt update -y
45 sudo apt install devscripts -y
46 wget -O /tmp/minio https://dl.minio.io/server/minio/release/linux-amd64/minio
47 chmod +x /tmp/minio
48 mkdir -p /tmp/certs-dir
49 cp testcerts/* /tmp/certs-dir
50 /tmp/minio server --quiet -S /tmp/certs-dir /tmp/fs{1...4} &
51 make