Skip to content

internal/elastic: rename plugin to elastic & extend arguments #92

internal/elastic: rename plugin to elastic & extend arguments

internal/elastic: rename plugin to elastic & extend arguments #92

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.21.x"]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v4
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.21.x"]
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v4
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@v4
with:
go-version: "1.21.x"
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
with:
version: v1.55.2