kanidm/.github/workflows/rust_test.yml
dependabot[bot] dd973eb0ec
Bump actions/checkout from 2 to 3 (#898)
Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 3.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-05 17:33:53 +10:00

31 lines
524 B
YAML

name: "Rust Test"
# Trigger the workflow on push to master or pull request
"on":
push:
branches:
- master
pull_request:
jobs:
rust_test:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- name: Update package manager
run: sudo apt-get update
- name: Install dependencies
run: |
sudo apt-get install -y \
libpam0g-dev \
libudev-dev \
libssl-dev \
libsqlite3-dev
- name: Run tests
run: cargo test --verbose