Add CONTRIBUTING.md #3
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: CI | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Clippy | |
run: cargo clippy -- -Dwarnings | |
- name: Check all features pulldown | |
run: cargo check --no-default-features --features pulldown_cmark,better_syntax_highlighting,macros | |
- name: Check all features comrak | |
run: cargo check --no-default-features --features comrak,better_syntax_highlighting,macros | |
- name: Cargo fmt | |
run: cargo fmt --check -q | |
- name: Test | |
run: cargo test --features macros |