Skip to content

test(bench): cover feeder-sim capture, serve and flag validation #15567

test(bench): cover feeder-sim capture, serve and flag validation

test(bench): cover feeder-sim capture, serve and flag validation #15567

Workflow file for this run

name: golangci-lint
on:
push:
tags:
- v*
branches:
- main
pull_request:
permissions:
contents: read
pull-requests: read
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
golangci:
name: lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e # v6.0.0
with:
go-version-file: go.mod
cache: false
- name: Install Jemalloc (Ubuntu or self-hosted)
run: sudo apt-get update -qq && sudo apt-get install -y libjemalloc-dev libjemalloc2 -y
# General Linter code wide
- name: golangci-lint
uses: golangci/golangci-lint-action@ba0d7d2ec06a0ea1cb5fa41b2e4a3ab91d21278a # v9.3.0
with:
version: latest
# Linter for diffs only. Apply new lint rules gradually that would be a huge refactor
# to do in one go
- name: golangci-lint-diffs
uses: golangci/golangci-lint-action@ba0d7d2ec06a0ea1cb5fa41b2e4a3ab91d21278a # v9.3.0
with:
version: latest
args: --config=./.golangci_diff.yaml
only-new-issues: true