Skip to content

fix: リジャッジ権限のあるコンテストの提出がクロールされない問題を修正 (#1518, #1520) #9

fix: リジャッジ権限のあるコンテストの提出がクロールされない問題を修正 (#1518, #1520)

fix: リジャッジ権限のあるコンテストの提出がクロールされない問題を修正 (#1518, #1520) #9

Workflow file for this run

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