-
Notifications
You must be signed in to change notification settings - Fork 8
37 lines (33 loc) · 976 Bytes
/
go.yml
File metadata and controls
37 lines (33 loc) · 976 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# Copyright (c) 2025 Columnar Technologies. All rights reserved.
name: Go
on:
push:
branches:
- 'main'
pull_request:
concurrency:
group: ${{ github.repository }}-${{ github.head_ref || github.sha }}-${{ github.workflow }}
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
permissions:
contents: read
jobs:
build-and-test:
name: ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
# macos-13 is intel macos while macos-latest is arm64
os: [ 'ubuntu-latest', 'windows-latest', 'macos-latest', 'macos-13' ]
steps:
- uses: actions/checkout@v4
- name: Install Go
uses: actions/setup-go@f111f3307d8850f501ac008e886eec1fd1932a34 # v5.3.0
with:
go-version: 1.24.2
cache: true
cache-dependency-path: go.sum
- name: Build dbc
run: go build ./cmd/dbc
- name: Run Tests
run: go test -v ./...