start working on encoding the sequences #310
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
on: [push, pull_request] | |
name: CI | |
jobs: | |
tests: | |
name: Check | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout sources | |
uses: actions/checkout@v4 | |
- name: Install stable toolchain | |
uses: dtolnay/rust-toolchain@stable | |
- name: Install cargo-hack | |
uses: taiki-e/install-action@v2 | |
with: | |
tool: cargo-hack | |
- run: cargo hack check --feature-powerset --exclude-features rustc-dep-of-std | |
- run: cargo hack clippy --feature-powerset --exclude-features rustc-dep-of-std | |
- run: cargo hack test --feature-powerset --exclude-features rustc-dep-of-std | |
clippy-nightly: | |
name: clippy nightly | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout sources | |
uses: actions/checkout@v4 | |
- name: Install nightly toolchain | |
uses: dtolnay/rust-toolchain@nightly | |
with: | |
components: rustfmt, clippy | |
- run: cargo +nightly fmt --all -- --check | |
- run: cargo +nightly clippy --no-default-features -- -D warnings | |
- run: cargo +nightly clippy -- -D warnings |