Skip to content

Implement Trapped Rain Water Problem #1143

Implement Trapped Rain Water Problem

Implement Trapped Rain Water Problem #1143

Workflow file for this run

name: build
on: pull_request
jobs:
fmt:
name: cargo fmt
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: cargo fmt
run: cargo fmt --all -- --check
clippy:
name: cargo clippy
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: cargo clippy
run: cargo clippy --all --all-targets -- -D warnings
test:
name: cargo test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: cargo test
run: cargo test