bitwarden_rs_ldap/.github/workflows/cargo.yml

36 lines
557 B
YAML
Raw Normal View History

---
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@v3
- name: Build
run: cargo build --verbose
2022-01-20 20:44:31 +00:00
- name: Run tests
run: cargo test --verbose
- uses: actions/setup-python@v4
2022-01-20 20:44:31 +00:00
- name: Run pre-commit hooks
uses: pre-commit/action@v3.0.0
2022-01-20 20:44:31 +00:00
env:
SKIP: hadolint
- name: Run hadolint
uses: hadolint/hadolint-action@v3.1.0