This repository has been archived by the owner on Nov 16, 2023. It is now read-only.
Value.Bytes() return value directly #1201
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- '*' | |
jobs: | |
test: | |
strategy: | |
matrix: | |
go: | |
- '1.17.x' | |
- '1.18.x' | |
- '1.19.x' | |
tags: | |
- '' | |
- purego | |
label: | |
- [self-hosted, linux, arm64, segment] | |
- ubuntu-latest | |
runs-on: ${{ matrix.label }} | |
env: | |
PARQUETGODEBUG: tracebuf=1 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup Go ${{ matrix.go }} | |
uses: actions/setup-go@v3 | |
with: | |
go-version: ${{ matrix.go }} | |
- name: Download Dependencies | |
run: go mod download | |
- name: Run Tests | |
run: go test -trimpath -race -tags=${{ matrix.tags }} ./... | |
- name: Run Benchmarks | |
run: go test -trimpath -short -tags=${{ matrix.tags }} -run '^$' -bench . -benchtime 1x ./... | |
format: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup Go ${{ matrix.go }} | |
uses: actions/setup-go@v3 | |
with: | |
go-version: 1.19.x | |
- name: Validate formatting | |
run: make format | |
# https://github.com/golangci/golangci-lint/issues/2649 | |
# lint: | |
# runs-on: ubuntu-latest | |
# steps: | |
# - uses: actions/checkout@v3 | |
# - uses: actions/setup-go@v3 | |
# with: | |
# go-version: 1.18.x | |
# - name: golangci-lint | |
# uses: golangci/golangci-lint-action@v3 | |
# with: | |
# version: latest |