first commit #2
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 | |
- 'release/v*.*.*' | |
pull_request: | |
branches: | |
- main | |
- 'release/v*.*.*' | |
jobs: | |
fmt: | |
runs-on: ubuntu-latest | |
name: rustfmt members-assoc-sdk-rust | |
steps: | |
- name: Checkout branch | |
uses: actions/checkout@v4 | |
- name: Setup toolchain | |
uses: mkroening/[email protected] | |
- name: Setup cache | |
uses: Swatinem/rust-cache@v2 | |
with: | |
prefix-key: "members-assoc-sdk-rust/gh-actions-cache" | |
- name: Run rustfmt | |
run: cargo fmt --all -- --check |