Skip to content

Github Actions

Github Actions #10

Workflow file for this run

name: SDK Rust CI
on:
push:
branches:
- main
pull_request:
branches:
- '*'
env:
CARGO_TERM_COLOR: always
jobs:
# test:
# name: cargo test
# strategy:
# matrix:
# os: [ ubuntu-latest, macos-latest, windows-latest ]
# rust: [stable, nightly]
# runs-on: ${{ matrix.os }}
# steps:
# - uses: actions/checkout@v4
# - name: Set up Rust
# uses: dtolnay/rust-toolchain@stable
# with:
# toolchain: ${{ matrix.rust }}
# - name: Test
# run: cargo test --workspace
format:
name: cargo fmt
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Rustfmt
uses: dtolnay/rust-toolchain@stable
with:
toolchain: stable
components: rustfmt
- uses: clechasseur/rs-fmt-check@v2