mirror of
https://github.com/ViViDboarder/bitwarden_rs_ldap.git
synced 2024-11-22 11:16:27 +00:00
13e0775d56
Using GHA for builds rather than Docker Hub
29 lines
443 B
YAML
29 lines
443 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.2
|