ADT ページのテーブル化 + adt_top の非表示 #23
Workflow file for this run
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: Rust backend test | |
| on: | |
| pull_request: | |
| branches: | |
| - main | |
| push: | |
| branches: | |
| - main | |
| jobs: | |
| backend-test: | |
| name: Run backend tests | |
| runs-on: ubuntu-latest | |
| defaults: | |
| run: | |
| working-directory: ./atcoder-problems-backend | |
| shell: bash | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: dtolnay/rust-toolchain@1.96.0 | |
| with: | |
| components: rustfmt, clippy | |
| - uses: Swatinem/rust-cache@v2 | |
| with: | |
| shared-key: "atcoder-problems-backend" | |
| workspaces: "./atcoder-problems-backend -> target" | |
| - run: cargo fmt --all -- --check | |
| - run: cargo clippy --workspace --all-targets -- -D warnings | |
| - run: cargo test --workspace -- --test-threads=4 # Since testcontainers is used, limit the number of containers that can be started at the same time |