Skip to content

OpenTelemetry & Parser/Eval refactoring #262

OpenTelemetry & Parser/Eval refactoring

OpenTelemetry & Parser/Eval refactoring #262

Workflow file for this run

name: main
on:
push:
branches:
- main
pull_request:
types:
- opened
- synchronize
- reopened
- ready_for_review
workflow_dispatch:
concurrency:
group: main-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
tests:
if: github.event_name != 'pull_request' || !github.event.pull_request.draft
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
go-version: ["1.22.x"]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go-version }}
- run: go test -race -v -timeout 10s -short ./...
builds:
if: github.event_name != 'pull_request' || !github.event.pull_request.draft
strategy:
fail-fast: true
matrix:
go-version: ["1.22.x"]
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: stable
- name: Build fabric
run: go build -v -o ${{ runner.temp }}/fabric
golangci-lint:
if: github.event_name != 'pull_request' || !github.event.pull_request.draft
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: "1.22.x"
- name: golangci-lint
uses: golangci/golangci-lint-action@v5
with:
version: v1.57