詳細ビュー (旧裏面) を作成 #230
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 | |
on: | |
pull_request: | |
push: | |
branches: [main] | |
jobs: | |
all: | |
runs-on: ubuntu-latest | |
timeout-minutes: 10 | |
env: | |
RUSTFLAGS: -D warnings | |
defaults: | |
run: | |
working-directory: scraper | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/cache@v4 | |
with: | |
path: | | |
~/.cargo/ | |
~/.rustup/ | |
scraper/target | |
key: cargo-cache-${{ github.job }}-${{ runner.os }}-${{ hashFiles('**/Cargo.lock') }} | |
- uses: dtolnay/rust-toolchain@v1 | |
with: | |
toolchain: 1.82.0 | |
components: clippy,rustfmt | |
- run: cargo build | |
- run: cargo build --release | |
- run: cargo test | |
- run: cargo clippy | |
- run: cargo fmt --check |