misc(ldap): generalise bind_dn #154
This file contains hidden or 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: CI | |
| on: | |
| push: | |
| branches: | |
| - '**' # Run on every branch push | |
| # pull_request: # this is not necessary if we run on each push | |
| jobs: | |
| build-and-test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Check out code | |
| uses: actions/checkout@v3 | |
| - name: Install Rust stable | |
| uses: dtolnay/rust-toolchain@stable | |
| - name: Install rustfmt | |
| run: rustup component add rustfmt | |
| - name: Check code formatting | |
| run: cargo fmt -- --check | |
| - name: Run tests | |
| env: | |
| NO_PROXY: "127.0.0.1,localhost" | |
| run: | | |
| unset HTTP_PROXY http_proxy HTTPS_PROXY https_proxy ALL_PROXY all_proxy | |
| cargo test -- --test-threads=1 |