Skip to content

Merge pull request #15 from WillLillis/day_25_stars #74

Merge pull request #15 from WillLillis/day_25_stars

Merge pull request #15 from WillLillis/day_25_stars #74

name: Clippy and format
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
env:
CARGO_TERM_COLOR: always
jobs:
clippy-and-fmt:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Run Clippy
env:
RUSTFLAGS: "-Dwarnings"
run: cargo clippy --locked
- name: Check formatting
run: cargo fmt --check --all