bitwarden_rs_ldap/.github/workflows/cargo.yml
2022-01-20 12:46:32 -08:00

36 lines
557 B
YAML

---
name: Tests
"on":
push:
branches: [master]
pull_request:
branches: [master]
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Build
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose
- uses: actions/setup-python@v2
- name: Run pre-commit hooks
uses: pre-commit/action@v2.0.3
env:
SKIP: hadolint
- name: Run hadolint
uses: hadolint/hadolint-action@v1.6.0