Skip to content
This repository was archived by the owner on Sep 8, 2025. It is now read-only.

fix(logs): remove unused env_logger #556

fix(logs): remove unused env_logger

fix(logs): remove unused env_logger #556

Workflow file for this run

name: build
on:
pull_request:
branches:
- "*"
push:
branches:
- "main"
tags:
- "*"
workflow_dispatch: {}
jobs:
rust-build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true
- uses: actions-rs/toolchain@v1
with:
toolchain: nightly
components: rust-src, clippy, rustfmt
override: false
- name: Install bpf-linker
run: |
cargo install bpf-linker
- name: Build all rust crates (dataplane, test server)
run: |
make build
- name: Check formatting
run: |
make check.format
- name: Check clippy
run: |
make lint
- name: Run Tests
run: |
make test
image-build-controlplane:
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@85e6279cec87321a52edac9c87bce653a07cf6c2 # v4.1.7
- uses: dorny/paths-filter@v3
id: filter
with:
filters: |
controlplane:
- 'controlplane/**'
containerfile:
- 'build/Containerfile.controlplane'
- name: build container image
if: steps.filter.outputs.controlplane || steps.filter.outputs.containerfile
uses: docker/build-push-action@263435318d21b8e681c14492fe198d362a7d2c83 # v6.18.0
with:
push: false
context: .
file: build/Containerfile.controlplane
tags: localhost/blixt-controlplane:pr-${{ github.event.pull_request.number }}-${{ github.sha }}
image-build-dataplane:
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@85e6279cec87321a52edac9c87bce653a07cf6c2 # v4.1.7
- uses: dorny/paths-filter@v3
id: filter
with:
filters: |
dataplane:
- 'dataplane/**'
containerfile:
- 'build/Containerfile.dataplane'
- name: build container image
if: steps.filter.outputs.dataplane || steps.filter.outputs.containerfile
uses: docker/build-push-action@263435318d21b8e681c14492fe198d362a7d2c83 # v6.18.0
with:
push: false
context: .
file: build/Containerfile.dataplane
tags: localhost/blixt-dataplane:pr-${{ github.event.pull_request.number }}-${{ github.sha }}