Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/dev.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2025 ADBC Drivers Contributors
# Copyright (c) 2025-2026 ADBC Drivers Contributors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -59,7 +59,7 @@ jobs:
run: pip install pre-commit

- name: pre-commit (cache)
uses: actions/cache@8b402f58fbc84540c8b491a91e594a4576fec3d7 # v5.0.2
uses: actions/cache@cdf6c1fa76f9f475f3d7449005a359c84ca0f306 # v5.0.3
with:
path: ~/.cache/pre-commit
key: pre-commit-${{ hashFiles('.pre-commit-config.yaml') }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/dev_issues.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2025 ADBC Drivers Contributors
# Copyright (c) 2025-2026 ADBC Drivers Contributors
#
# This file has been modified from its original version, which is
# under the Apache License:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/dev_pr.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2025 ADBC Drivers Contributors
# Copyright (c) 2025-2026 ADBC Drivers Contributors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
50 changes: 35 additions & 15 deletions .github/workflows/go_release.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2025 ADBC Drivers Contributors
# Copyright (c) 2025-2026 ADBC Drivers Contributors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -66,14 +66,15 @@ jobs:
with:
fetch-depth: 0
persist-credentials: false
submodules: 'recursive'

- uses: actions/setup-go@7a3fe6cf4cb3a834922a1244abfce67bcef6a0c5 # v6.2.0
with:
cache-dependency-path: go/go.sum
check-latest: true
go-version-file: go/go.mod

- uses: prefix-dev/setup-pixi@82d477f15f3a381dbcc8adc1206ce643fe110fb7 # v0.9.3
- uses: prefix-dev/setup-pixi@a0af7a228712d6121d37aba47adf55c1332c9c2e # v0.9.4
with:
pixi-version: v0.63.2
run-install: false
Expand All @@ -87,6 +88,13 @@ jobs:
./ci/scripts/pre-build.sh test ${{ matrix.platform }} ${{ matrix.arch }}
fi

set -a
if [[ -f .env.build ]]; then
echo "Loading .env.build"
source .env.build
fi
set +a

go build ./...

- name: Start Test Dependencies
Expand Down Expand Up @@ -160,14 +168,15 @@ jobs:
with:
fetch-depth: 0
persist-credentials: false
submodules: 'recursive'

- uses: actions/setup-go@7a3fe6cf4cb3a834922a1244abfce67bcef6a0c5 # v6.2.0
with:
cache-dependency-path: go/go.sum
check-latest: true
go-version-file: go/go.mod

- uses: prefix-dev/setup-pixi@82d477f15f3a381dbcc8adc1206ce643fe110fb7 # v0.9.3
- uses: prefix-dev/setup-pixi@a0af7a228712d6121d37aba47adf55c1332c9c2e # v0.9.4
with:
pixi-version: v0.63.2
run-install: false
Expand All @@ -185,12 +194,15 @@ jobs:
./ci/scripts/pre-build.sh test ${{ matrix.platform }} ${{ matrix.arch }}
fi
set -a
if [[ -f .env.release ]]; then
if [[ -f .env.build ]]; then
echo "Loading .env.build"
source .env.build
fi
if [[ -f .env.test ]]; then
source .env.test
fi
set +a
pixi run adbc-make build DEBUG=true VERBOSE=true DRIVER=snowflake IMPL_LANG=go

- name: Start Test Dependencies
# Can't use Docker on macOS AArch64 runners, and Windows containers
# work but often the container doesn't support Windows
Expand Down Expand Up @@ -277,14 +289,15 @@ jobs:
with:
fetch-depth: 0
persist-credentials: false
submodules: 'recursive'

- uses: actions/setup-go@7a3fe6cf4cb3a834922a1244abfce67bcef6a0c5 # v6.2.0
with:
cache-dependency-path: go/go.sum
check-latest: true
go-version-file: go/go.mod

- uses: prefix-dev/setup-pixi@82d477f15f3a381dbcc8adc1206ce643fe110fb7 # v0.9.3
- uses: prefix-dev/setup-pixi@a0af7a228712d6121d37aba47adf55c1332c9c2e # v0.9.4
with:
pixi-version: v0.63.2
run-install: false
Expand All @@ -306,6 +319,10 @@ jobs:
./ci/scripts/pre-build.sh release ${{ matrix.platform }} ${{ matrix.arch }}
fi
set -a
if [[ -f .env.build ]]; then
echo "Loading .env.build"
source .env.build
fi
if [[ -f .env.release ]]; then
source .env.release
fi
Expand All @@ -330,13 +347,14 @@ jobs:
with:
fetch-depth: 0
persist-credentials: false
submodules: 'recursive'

- uses: actions/setup-go@7a3fe6cf4cb3a834922a1244abfce67bcef6a0c5 # v6.2.0
with:
check-latest: true
go-version: "stable"

- uses: prefix-dev/setup-pixi@82d477f15f3a381dbcc8adc1206ce643fe110fb7 # v0.9.3
- uses: prefix-dev/setup-pixi@a0af7a228712d6121d37aba47adf55c1332c9c2e # v0.9.4
with:
pixi-version: v0.63.2
run-install: false
Expand Down Expand Up @@ -401,7 +419,7 @@ jobs:
- uses: actions/setup-go@7a3fe6cf4cb3a834922a1244abfce67bcef6a0c5 # v6.2.0
with:
go-version: 'stable'
- uses: prefix-dev/setup-pixi@82d477f15f3a381dbcc8adc1206ce643fe110fb7 # v0.9.3
- uses: prefix-dev/setup-pixi@a0af7a228712d6121d37aba47adf55c1332c9c2e # v0.9.4
with:
pixi-version: v0.63.2
run-install: false
Expand All @@ -426,17 +444,23 @@ jobs:
with:
fetch-depth: 1
persist-credentials: false
submodules: 'recursive'
- name: load package
working-directory: go
run: |
if [[ -f ci/scripts/pre-build.sh ]]; then
echo "Loading pre-build"
./ci/scripts/pre-build.sh test ${{ matrix.platform }} ${{ matrix.arch }}
fi

set -a
if [[ -f .env.build ]]; then
echo "Loading .env.build"
source .env.build
fi
if [[ -f .env.ci ]]; then
source .env.ci
fi
set +a
pixi exec -s adbc-driver-manager -s pyarrow -s pytest python -m pytest -vs ci/test_package.py

release:
Expand All @@ -454,13 +478,9 @@ jobs:
with:
fetch-depth: 0
persist-credentials: false
submodules: 'recursive'

- uses: actions/setup-go@7a3fe6cf4cb3a834922a1244abfce67bcef6a0c5 # v6.2.0
with:
check-latest: true
go-version: "stable"

- uses: prefix-dev/setup-pixi@82d477f15f3a381dbcc8adc1206ce643fe110fb7 # v0.9.3
- uses: prefix-dev/setup-pixi@a0af7a228712d6121d37aba47adf55c1332c9c2e # v0.9.4
with:
pixi-version: v0.63.2
run-install: false
Expand Down
Loading
Loading