Skip to content

Improve documentation #9

Improve documentation

Improve documentation #9

Workflow file for this run

name: Build and Test Suite
on:
push:
branches: [ "develop", "main" ]
pull_request:
branches: [ "develop", "main" ]
env:
CARGO_TERM_COLOR: always
permissions:
contents: read
packages: none
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Install dependencies
run: |
sudo apt-get update && sudo apt-get install -y libxapian-dev libxapian30
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
profile: minimal
override: true
toolchain: stable
components: clippy
- uses: actions/cache@v3
with:
key: cargo-${{ hashFiles('**/Cargo.lock') }}-ci
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
- uses: actions-rs/cargo@v1
with:
toolchain: stable
command: build
args:
--all-targets
- uses: actions-rs/cargo@v1
with:
command: test
toolchain: stable
- uses: actions-rs/cargo@v1
with:
command: clippy
toolchain: stable