Skip to content

doc: fix typo in README.md (#10) #59

doc: fix typo in README.md (#10)

doc: fix typo in README.md (#10) #59

Workflow file for this run

name: CI
on: [pull_request, push]
jobs:
test:
name: Test
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [macos-latest, ubuntu-latest, windows-latest]
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
submodules: true
- name: Ensure style.css exists
run: touch assets/style.css
- name: Setup Rust
uses: dtolnay/rust-toolchain@stable
- name: Configure cache
uses: Swatinem/rust-cache@v2
- name: Install cargo-llvm-cov (for use in tests)
uses: taiki-e/install-action@v2
with:
tool: [email protected]
- name: Test
run: cargo test
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
submodules: true
- name: Ensure style.css exists
run: touch assets/style.css
- name: Setup Rust (nightly)
uses: dtolnay/rust-toolchain@nightly
with:
components: rustfmt
- name: Run rustfmt
run: cargo fmt -- --check
- name: Setup Rust (stable)
uses: dtolnay/rust-toolchain@stable
with:
components: clippy
- name: Configure cache
uses: Swatinem/rust-cache@v2
- name: Run clippy
run: cargo clippy -- -D warnings