Skip to content

Merge pull request #88 from wansenai/dependabot/cargo/toml-0.8 #139

Merge pull request #88 from wansenai/dependabot/cargo/toml-0.8

Merge pull request #88 from wansenai/dependabot/cargo/toml-0.8 #139

Workflow file for this run

name: Rust CI
on:
push:
branches:
- master # 替换为您的主分支名称
pull_request:
branches:
- master # 替换为您的主分支名称
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
rust: [stable, beta, nightly]
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up Rust
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: ${{ matrix.rust }}
- name: Check with Cargo
run: cargo check --verbose
- name: Test with Cargo
run: cargo test --verbose