Skip to content

fix: bytes unit detection in detected fields (#15525) #748

fix: bytes unit detection in detected fields (#15525)

fix: bytes unit detection in detected fields (#15525) #748

Workflow file for this run

---
name: "Lint And Build Nix Flake"
on:
push:
branches:
- main
pull_request:
paths:
- "flake.nix"
- "flake.lock"
- "go.mod"
- "nix/**"
- .github/workflows/nix-ci.yaml
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: cachix/install-nix-action@v30
with:
nix_path: nixpkgs=channel:nixos-unstable
- run: nix run --print-build-logs .#lint
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: cachix/install-nix-action@v30
with:
nix_path: nixpkgs=channel:nixos-unstable
- uses: dorny/paths-filter@v3
id: nix-changes
with:
filters: |
nix:
- 'nix/**'
- 'flake.nix'
- 'flake.lock'
- run: nix run --print-build-logs .#test
if: steps.nix-changes.outputs.nix == 'true'
packages:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: cachix/install-nix-action@v30
with:
nix_path: nixpkgs=channel:nixos-unstable
- run: nix build --print-build-logs .#promtail
- run: nix build --print-build-logs .#logcli
- run: nix build --print-build-logs .#loki
- run: nix build --print-build-logs .#loki-canary