chore(deps): bump libc from 0.2.161 to 0.2.162 (#308) #5
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: 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 | |
# TODO: Once we migrate the controller from Go to Rust, | |
# add the controller build step here. | |
- 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 |