Skip to content

server: combine three servers to one ccnp server #1

server: combine three servers to one ccnp server

server: combine three servers to one ccnp server #1

Workflow file for this run

name: Rust Code Scan
on:
push:
branches:
- main
paths:
- 'service/quote-server/**.rs'
- '.github/workflows/pr-check-rust.yaml'
pull_request:
paths:
- 'service/quote-server/**.rs'
- '.github/workflows/pr-check-rust.yaml'
workflow_dispatch:
jobs:
codescan:
runs-on: tdvm-ut
steps:
- name: Checkout PR
uses: actions/checkout@v3
- name: Set up Rust action
uses: actions-rs/toolchain@v1
with:
toolchain: 1.70.0
- name: Install dependencies
run: |
sudo apt update && yes | DEBIAN_FRONTEND=noninteractive sudo apt install -y libcryptsetup-dev clang protobuf-compiler protobuf-c-compiler libprotobuf-c-dev libprotobuf-c1 build-essential pkg-config libssl-dev
- name: Run cargo check
run: |
cd service/ccnp-server
cargo test
cargo check
cargo fmt -- --check
cargo clippy
cargo install --locked cargo-deny
cargo deny check