Skip to content

v0.5.0: add onramp (automomous registration) support to all languages #16

v0.5.0: add onramp (automomous registration) support to all languages

v0.5.0: add onramp (automomous registration) support to all languages #16

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
rust:
name: Rust
runs-on: ubuntu-latest
defaults:
run:
working-directory: rust
env:
CARGO_TERM_COLOR: always
RUSTFLAGS: -Dwarnings
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
components: clippy, rustfmt
- uses: Swatinem/rust-cache@v2
with:
workspaces: rust
- run: cargo fmt -- --check
- run: cargo clippy --all-targets --all-features
- run: cargo test
typescript:
name: TypeScript
runs-on: ubuntu-latest
defaults:
run:
working-directory: typescript
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
- run: npm install
- run: npm run build
- run: npx vitest run
python:
name: Python
runs-on: ubuntu-latest
defaults:
run:
working-directory: python
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.12"
- run: pip install -e ".[dev]"
- run: python -m pytest -q
elixir:
name: Elixir
runs-on: ubuntu-latest
defaults:
run:
working-directory: elixir
steps:
- uses: actions/checkout@v4
- uses: erlef/setup-beam@v1
with:
otp-version: "26"
elixir-version: "1.16"
- run: mix deps.get
- run: mix compile --warnings-as-errors
- run: mix test
ruby:
name: Ruby
runs-on: ubuntu-latest
defaults:
run:
working-directory: ruby
steps:
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
with:
ruby-version: "3.3"
bundler-cache: true
working-directory: ruby
- run: bundle exec rake test