Change CWriter's Converter to an Assoc Type #384
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Rust | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
Build: | |
strategy: | |
matrix: | |
os: [windows-latest, ubuntu-latest] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Checkout Code | |
uses: actions/checkout@v2 | |
- name: Python - Install 3.8 | |
uses: actions/setup-python@v2 | |
with: | |
python-version: '3.8' | |
- name: Python - Install Dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install cffi pytest | |
- name: Rust - Build | |
run: cargo build --verbose | |
- name: Rust - Style | |
run: cargo fmt --check | |
- name: Rust - Clippy | |
run: cargo clippy -- -D warnings | |
- name: Rust - Test | |
run: cargo test --verbose | |