freeze initial panda-rpki staging
This commit is contained in:
27
.github/workflows/ci.yml
vendored
Normal file
27
.github/workflows/ci.yml
vendored
Normal file
@@ -0,0 +1,27 @@
|
||||
name: ci
|
||||
|
||||
on:
|
||||
push:
|
||||
pull_request:
|
||||
|
||||
jobs:
|
||||
rust:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: dtolnay/rust-toolchain@stable
|
||||
with:
|
||||
toolchain: 1.92.0
|
||||
components: rustfmt, clippy
|
||||
- run: cargo fmt --all --check
|
||||
- run: cargo build --locked -p panda-rpki-validator
|
||||
- run: cargo test --locked -p panda-rpki-validator
|
||||
- run: cargo clippy --locked -p panda-rpki-validator --all-targets -- -D warnings
|
||||
|
||||
docker-runtime:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- run: docker buildx build --platform linux/amd64 --load -t panda-rpki-validator:ci -f docker/validator-runtime.Dockerfile .
|
||||
- run: ./scripts/docker/verify_image.sh --image panda-rpki-validator:ci
|
||||
- run: docker run --rm panda-rpki-validator:ci run --help
|
||||
Reference in New Issue
Block a user