Skip to content

Commit

Permalink
fix: tmp
Browse files Browse the repository at this point in the history
  • Loading branch information
niebayes committed Sep 25, 2024
1 parent 18867ff commit 2d0c2ae
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions .github/workflows/dev_checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,17 +57,20 @@ jobs:
- run: git config --global --add safe.directory '*'
- uses: actions/checkout@v4
- name: Check Go format
working-directory: go
run: |
if [ -n "$(gofmt -d go)" ]; then
if [ -n "$(gofmt -d .)" ]; then
echo "Formatting issues found. Please run gofmt."
exit 1
fi
- name: Check Python format
working-directory: python
run: |
black --check python
black --check .
- name: Check Rust format
working-directory: rust
run: |
cargo fmt --manifest-path rust/Cargo.toml --check 2>/dev/null
cargo fmt -check 2>/dev/null
typo-check:
runs-on: ubuntu-22.04
Expand Down Expand Up @@ -113,4 +116,6 @@ jobs:
- uses: actions/checkout@v4
- run: ls
- run: pwd
- run: cargo clippy --workspace --all-targets --all-features --manifest-path rust/Cargo.toml -- -D warnings
- run: rustup toolchain list
- working-directory: rust
run: cargo clippy --workspace --all-targets --all-features -- -D warnings

0 comments on commit 2d0c2ae

Please sign in to comment.