Skip to content

Commit

Permalink
build(ci): Fixed fmt job
Browse files Browse the repository at this point in the history
  • Loading branch information
serg-temchenko committed May 28, 2024
1 parent aa8a991 commit df825e1
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,15 +31,10 @@ jobs:
- uses: actions/checkout@v4
- name: List version
run: |
cargo --version
cargo fmt --version
cargo +nightly --version
cargo +nightly fmt --version
- name: Cargo format
run: cargo fmt --all -- --check
- name: Cargo fmt failure info
if: failure()
run: |
echo '.rs files are not formatted correctly'
echo 'Please run cargo fmt --all'
run: cargo +nightly fmt --all -- --check

clippy_build_and_test:
runs-on: self-hosted
Expand Down

0 comments on commit df825e1

Please sign in to comment.