Fix scraper for 2025T1 #115
This file contains 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: Cargo Build & Test | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
build_and_test: | |
name: Rust CI | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
toolchain: | |
- stable | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Rust | |
run: rustup update ${{ matrix.toolchain }} && rustup default ${{ matrix.toolchain }} | |
- name: Load Cache | |
uses: Swatinem/rust-cache@v2 | |
- name: Format | |
run: cargo fmt --check | |
- name: Build | |
run: cargo build --verbose --locked | |
- name: Lint | |
run: cargo clippy --all-targets --all-features | |
- name: Test | |
run: cargo test --verbose --locked |