app: scroll when list of profiles is big #47
This file contains hidden or 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: check | |
on: | |
push: | |
paths: | |
- .github/workflows/check.yaml | |
- crates/** | |
- frontend/** | |
- Cargo.lock | |
jobs: | |
check-frontend: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: "lts/*" | |
cache: "yarn" | |
cache-dependency-path: frontend/yarn.lock | |
- name: install deps | |
run: cd frontend && yarn install --frozen-lockfile | |
- name: check format | |
run: cd frontend && yarn format:check | |
check-rust: | |
runs-on: ubuntu-latest | |
env: | |
SERVER_HOST: http://localhost | |
SERVER_PORT: "3000" | |
DB_PATH: db.redb | |
WEB_ORIGIN: https://istudyatuni.github.io/ow-tracker/ | |
WEB_ADDRESS: http://localhost:8080/ow-tracker/ | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions-rust-lang/setup-rust-toolchain@v1 | |
with: | |
components: clippy,rustfmt | |
- uses: Swatinem/rust-cache@v2 | |
- uses: DeterminateSystems/nix-installer-action@main | |
- uses: DeterminateSystems/magic-nix-cache-action@main | |
- name: install tools | |
run: | | |
nix profile add "nixpkgs#just" && just -V | |
nix profile add "nixpkgs#cargo-nextest" && cargo nextest -V | |
- name: check | |
# "touch .env" is a hack for dotenvy macro | |
run: | | |
touch .env | |
just check | |
- name: test | |
run: just test |