Skip to content

fix(opensearchtransport): keep dedicated cluster managers in the conn… #705

fix(opensearchtransport): keep dedicated cluster managers in the conn…

fix(opensearchtransport): keep dedicated cluster managers in the conn… #705

Workflow file for this run

name: Lint check
on: [push, pull_request]
env:
GITHUB_ACTIONS: true
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
strategy:
matrix:
# golangci-lint can only compile one point in the build-tag space per
# run. Two mutually-exclusive boolean axes (integration/!integration and
# multinode/!multinode) partition the source tree, so a single tag set
# can never lint every file. Feature tags (core, plugins, ...) are
# pure-OR alternatives and union harmlessly into every run, so complete
# coverage needs one run per (integration, multinode) combination.
build-tags:
- "core plugins plugin_security plugin_index_management"
- "integration core plugins plugin_security plugin_index_management"
- "integration core plugins plugin_security plugin_index_management multinode"
steps:
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v6
- uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e # v7.0.0
with: { go-version-file: 'go.mod' }
- name: golangci-lint
uses: golangci/golangci-lint-action@ba0d7d2ec06a0ea1cb5fa41b2e4a3ab91d21278a # v9
with:
version: v2.12.2
args: --fix --build-tags "${{ matrix.build-tags }}"
prettify:
name: Prettify
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v6
- name: Install dependencies
run: npm i -g prettier
- name: Check markdown files
run: prettier --prose-wrap never --print-width 300 --check **/*.md