feat: add variants() to LogQL #5749
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: lint-jsonnet | |
on: [pull_request] | |
# pull_request: | |
# paths: "production/**" | |
jobs: | |
check-mixin: | |
name: Check mixin jsonnet files | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: setup go | |
uses: actions/setup-go@v5 | |
with: | |
go-version: '1.23.1' | |
- name: setup jsonnet | |
run: | | |
go install github.com/google/go-jsonnet/cmd/[email protected] | |
go install github.com/google/go-jsonnet/cmd/[email protected] | |
go install github.com/google/go-jsonnet/cmd/[email protected] | |
go install github.com/monitoring-mixins/mixtool/cmd/mixtool@16dc166166d91e93475b86b9355a4faed2400c18 | |
go install github.com/jsonnet-bundler/jsonnet-bundler/cmd/[email protected] | |
- name: run linting | |
run: make BUILD_IN_CONTAINER=false lint-jsonnet | |
- name: check compiled mixin has been updated | |
run: | | |
make BUILD_IN_CONTAINER=false loki-mixin-check | |