fix(indexstats): do not collect stats from "IndexStats" lookups for other query types #1448
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Promtail Windows Test | |
on: | |
pull_request: | |
branches: ["main", "k*", "release-[0-9]+.[0-9]+.x"] | |
push: | |
tags: ['v[0-9].[0-9]+.[0-9]+'] | |
branches: ["main", "k*", "release-[0-9]+.[0-9]+.x"] | |
jobs: | |
build: | |
runs-on: windows-latest | |
strategy: | |
matrix: | |
go-version: [ '1.21.9', '1.22.2' ] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Go ${{ matrix.go-version }} | |
uses: actions/setup-go@v4 | |
with: | |
go-version: ${{ matrix.go-version }} | |
# You can test your matrix by printing the current Go version | |
- name: Display Go version | |
run: go version | |
- name: Run promtail tests | |
run: go test .\clients\pkg\promtail\targets\windows\... -v |