Skip to content

chore(deps): bump clap from 4.5.35 to 4.5.36 (#398) #466

chore(deps): bump clap from 4.5.35 to 4.5.36 (#398)

chore(deps): bump clap from 4.5.35 to 4.5.36 (#398) #466

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
docker-build-amd64:
name: docker-build-amd64
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 for amd64
if: steps.filter.outputs.dataplane || steps.filter.outputs.containerfile
uses: docker/build-push-action@471d1dc4e07e5cdedd4c2171150001c434f0b7a4 # v6.15.0
with:
push: false
context: .
file: build/Containerfile.dataplane
tags: localhost/blixt-dataplane:pr-${{ github.event.pull_request.number }}-amd64-${{ github.sha }}
docker-build-arm64:
name: docker-build-arm64
runs-on: ubuntu-22.04-arm
steps:
- name: Checkout
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- name: Build container image for arm64
if: steps.filter.outputs.dataplane || steps.filter.outputs.containerfile
uses: docker/build-push-action@471d1dc4e07e5cdedd4c2171150001c434f0b7a4 # v6.15.0
with:
push: false
context: .
file: build/Containerfile.dataplane
tags: localhost/blixt-dataplane:pr-${{ github.event.pull_request.number }}-arm64-${{ github.sha }}