mirror of
https://github.com/ViViDboarder/bitwarden_rs_ldap.git
synced 2024-11-01 01:06:27 +00:00
36 lines
557 B
YAML
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
|