Skip to content

Merge pull request #86 from Jzow/master #128

Merge pull request #86 from Jzow/master

Merge pull request #86 from Jzow/master #128

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