Skip to content

Natural scroll + no scrolling past the bottom of the page (#19) #37

Natural scroll + no scrolling past the bottom of the page (#19)

Natural scroll + no scrolling past the bottom of the page (#19) #37

Workflow file for this run

name: Build/lint/test
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
env:
CARGO_TERM_COLOR: always
RUSTFLAGS: "-Dwarnings"
jobs:
check-format:
name: "Check code formatting"
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/rustup
- name: Check formatting
run: cargo fmt --check
build:
name: "Build, lint, test"
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/rustup
- uses: taiki-e/install-action@nextest
- name: Build
run: cargo build --verbose
- name: Run clippy
run: cargo clippy --all-targets --all-features
- name: Run tests
run: cargo nextest run