Skip to content

Switch JS/Python/Rust/Go code to Coston2 #20

Switch JS/Python/Rust/Go code to Coston2

Switch JS/Python/Rust/Go code to Coston2 #20

name: Test Rust Examples
on:
pull_request:
branches:
- main
jobs:
test:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./code_examples/developer-hub-rust
steps:
- uses: actions/checkout@v4
- name: Install dependencies
run: cargo build
- name: Format with rustfmt
run: cargo fmt -- --check
- name: Lint with clippy
run: cargo clippy -- -D warnings
- name: Run tests
run: cargo test