node: tiny optimizations and code refactors #2784
Workflow file for this run
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: Authenticate | |
on: | |
push: | |
branches: | |
- main | |
- 'branch-*' | |
pull_request: | |
branches: | |
- main | |
- 'branch-*' | |
env: | |
CARGO_TERM_COLOR: always | |
RUST_BACKTRACE: full | |
jobs: | |
# PasswordAuthenticator | |
build: | |
timeout-minutes: 60 | |
runs-on: ubuntu-latest | |
services: | |
scylladb: | |
image: scylladb/scylla-passauth | |
ports: | |
- 9042:9042 | |
options: --health-cmd "cqlsh --username cassandra --password cassandra --debug" --health-interval 5s --health-retries 30 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Update rust toolchain | |
run: rustup update | |
- name: Run tests | |
run: RUST_LOG=trace cargo test --verbose authenticate_superuser -- custom_authentication --ignored |