Skip to content

build(deps): bump scraper from 0.26.0 to 0.27.0 (#208) #603

build(deps): bump scraper from 0.26.0 to 0.27.0 (#208)

build(deps): bump scraper from 0.26.0 to 0.27.0 (#208) #603

Workflow file for this run

name: ⌛ Test Code
on:
workflow_call:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
test:
name: 🧪 Test on ${{ matrix.target }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
include:
# Linux (x64)
- target: x86_64-unknown-linux-gnu
os: ubuntu-latest
# Linux (ARM)
- target: aarch64-unknown-linux-gnu
os: ubuntu-24.04-arm
# macOS (Intel)
- target: x86_64-apple-darwin
os: macos-latest
# macOS (ARM/M1)
- target: aarch64-apple-darwin
os: macos-latest
# Windows (GNU)
- target: x86_64-pc-windows-gnu
os: windows-latest
# Windows (MSVC)
- target: x86_64-pc-windows-msvc
os: windows-latest
# TODO: Run tests for android, pr wanted.
steps:
- name: 🛎️ Checkout code
uses: actions/checkout@v3
- name: 🦀 Set up Rust
uses: dtolnay/rust-toolchain@stable
with:
target: ${{ matrix.target }}
components: rustfmt, clippy
- name: 📦 Install Dependencies
run: cargo install cargo-nextest --locked
- name: 🧪 Run Tests
run: cargo nextest run --target ${{ matrix.target }}