Skip to content

Rust

Rust #897

Workflow file for this run

name: Rust
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
schedule:
- cron: '0 14 * * *'
env:
CARGO_TERM_COLOR: always
PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION: python
jobs:
build-and-test:
runs-on: ubuntu-latest
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
steps:
- uses: actions/checkout@v2
- name: Setup Python
uses: actions/setup-python@v2.2.2
with:
python-version: 3.8
- name: Install Anki
run: |
python -m pip install --upgrade pip
pip install anki
- name: Build
run: cargo build
- name: Run tests
run: cargo test --lib