refactor: encode more range info to env store values #105
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: lint | |
on: | |
push: | |
branches: ["master"] | |
pull_request: | |
branches: ["master"] | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Switch to nightly rust | |
run: | | |
rustup update nightly | |
rustup default nightly | |
rustup component add rustfmt | |
rustup component add clippy | |
- name: Run tests | |
run: cargo test --verbose | |
- name: Check formatting | |
run: cargo fmt --all --check | |
- name: Lint w/ clippy | |
run: cargo clippy --all-targets -- -D warnings |