Skip to content

Update module github.com/golangci/golangci-lint to v1.64.6 (#152) #283

Update module github.com/golangci/golangci-lint to v1.64.6 (#152)

Update module github.com/golangci/golangci-lint to v1.64.6 (#152) #283

Workflow file for this run

# Copyright (c) 2024 The Jaeger Authors.
# SPDX-License-Identifier: Apache-2.0
name: Tests
on:
merge_group:
push:
branches: [main]
pull_request:
branches: [main]
concurrency:
group: ${{ github.workflow }}-${{ (github.event.pull_request && github.event.pull_request.number) || github.ref || github.run_id }}
cancel-in-progress: true
permissions:
contents: read
jobs:
unit-tests:
runs-on: ubuntu-latest
steps:
- uses: step-security/harden-runner@4d991eb9b905ef189e4c376166672c3f2f230481 # v2.11.0
with:
egress-policy: audit
- uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
- uses: actions/setup-go@f111f3307d8850f501ac008e886eec1fd1932a34 # v5.3.0
with:
go-version: 1.24.x
cache-dependency-path: ./go.sum
- name: Run unit tests
run: make test-ci
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v5
with:
slug: jaegertracing/jaeger-idl
verbose: true
fail_ci_if_error: true
token: 95fab3d9-8038-40ba-ac56-0d8bd91390a4
test-code-gen:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
- name: Init git submodules
run: make init-submodule
- name: Test code gen
run: make test-code-gen