Refactor credentials from RTSP URL #836
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: Rust | |
on: [push, pull_request] | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
build: | |
strategy: | |
matrix: | |
os: [ macos-latest, windows-latest, ubuntu-latest ] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 22 | |
- name: Install | |
run: npm install | |
- name: Build Webui | |
run: npm run build | |
- name: Build | |
run: cargo build --release --all-targets --verbose | |
- name: Run tests | |
run: cargo test --all --verbose | |
check_format: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Show version information | |
run: | | |
cargo --version | |
cargo fmt --version | |
- name: Cargo format | |
run: cargo fmt --all -- --check | |
check_clippy: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 22 | |
- name: Install | |
run: npm install | |
- name: Build Webui | |
run: npm run build | |
- name: Show version information | |
run: | | |
cargo --version | |
cargo clippy --version | |
- name: Cargo clippy | |
run: cargo clippy --all-targets --all-features --workspace -- -D warnings | |