feat: add publish workflow, bump RUST_NANOS_SDK_REV #44
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |