signup ページのブロックを忘れていたので追加 (#517) #54
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: actions-rust-lang/setup-rust-toolchain@v1 | |
| with: | |
| components: clippy,rustfmt | |
| - run: cargo build | |
| - run: cargo build --release | |
| - run: cargo test | |
| - run: cargo clippy | |
| - run: cargo fmt --check |