Merge pull request #1652 from sEpt0r/fix-azkv-keys-space #47
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: Linters | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
# Only run when Rust version or linted files change | |
paths: | |
- 'rust-toolchain.toml' | |
- 'functional-tests/**/*.rs' | |
permissions: | |
contents: read | |
jobs: | |
lint: | |
name: Lint Rust source files | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out code | |
uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1 | |
# Rustup will detect toolchain version and profile from rust-toolchain.toml | |
# It will download and install the toolchain and components automatically | |
# and make them available for subsequent commands | |
- name: Install Rust toolchain and additional components | |
run: rustup component add rustfmt | |
- name: Show Rust version | |
run: cargo --version | |
- name: Run Formatting Check | |
run: cargo fmt --check | |
working-directory: ./functional-tests |