Skip to content

feat: add publish workflow, bump RUST_NANOS_SDK_REV (#18) #50

feat: add publish workflow, bump RUST_NANOS_SDK_REV (#18)

feat: add publish workflow, bump RUST_NANOS_SDK_REV (#18) #50

Workflow file for this run

name: rustfmt
on:
push:
branches: [ main, develop, develop-sync ]
pull_request:
branches: [ main, develop, develop-sync ]
workflow_dispatch:
inputs:
name:
description: 'Manually triggered'
env:
CARGO_TERM_COLOR: always
jobs:
fmt:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- uses: actions-rs/toolchain@v1
with:
toolchain: nightly-2023-11-10
override: true
components: rust-src, rustfmt
- run: rustup component add rustfmt
- name: Cargo fmt
uses: actions-rs/cargo@v1
with:
command: fmt
args: --manifest-path rust-app/Cargo.toml --all -- --check