Refactoring: Remove unnecessary move infos when calculating `all_posi… #85
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: | |
pull_request: | |
types: [ opened, synchronize ] | |
push: | |
jobs: | |
do-various-checks: | |
runs-on: [ubuntu-latest] | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: Format Rust code | |
env: | |
TERM: xterm-256color # Make output colored. Only works on step, not on job. | |
run: cargo fmt --all --check -- --color always | |
- name: Clippy | |
env: | |
TERM: xterm-256color | |
run: cargo clippy --all-targets --all-features --color always -- -D warnings | |
- name: Unit tests | |
run: cargo test --color always |