Skip to content

build(deps): bump jinja2 from 3.1.4 to 3.1.6 in /packages/ic-http-gateway-protocol/test-container #156

build(deps): bump jinja2 from 3.1.4 to 3.1.6 in /packages/ic-http-gateway-protocol/test-container

build(deps): bump jinja2 from 3.1.4 to 3.1.6 in /packages/ic-http-gateway-protocol/test-container #156

name: Build and Test
on:
push:
branches:
- main
pull_request:
jobs:
build_and_test_rust:
name: Build and Test Rust
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup DFX
uses: dfinity/setup-dfx@main
with:
dfx-version: 'auto'
- name: Install PocketIC server
uses: dfinity/pocketic@main
with:
pocket-ic-server-version: '12.0.0'
- name: Confirm successful installation
run: ${POCKET_IC_BIN} --version
- name: Build canisters
run: dfx build --check
- name: Test Cargo crates
run: cargo test --all-features
# TODO(NODE-1907): Remove once ic-http-gateway is fully deprecated.
- name: Check compatibility shim crate
run: cargo check -p ic-http-gateway --all-features
- name: Build Cargo docs
run: cargo doc --no-deps
- name: Lint Rust
run: cargo clippy --all-targets --all-features
- name: Check Rust formatting
run: cargo fmt --all -- --check