New challenge: Island Sizes #9
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
# This workflow checks for issues relating to this repository's Rust challenges. | |
name: CI for Rust challenges | |
on: | |
push: | |
paths: | |
- .github/workflows/rust_challenges_ci.yml | |
- rust_challenges/** | |
env: | |
CARGO_TERM_COLOR: always | |
RUSTFLAGS: "-Dwarnings" | |
jobs: | |
ci: | |
runs-on: windows-latest | |
defaults: | |
run: | |
working-directory: ./rust_challenges/ | |
steps: | |
- name: Check out | |
uses: actions/checkout@v4 | |
- name: Lint | |
run: cargo clippy --all-targets --all-features | |
- name: Check formatting | |
if: success() || failure() | |
run: cargo fmt --check | |
- name: Test | |
if: success() || failure() | |
run: cargo test |