Skip to content

fix ci workflow warnings (#70) #107

fix ci workflow warnings (#70)

fix ci workflow warnings (#70) #107

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
jobs:
build:
strategy:
matrix:
os: ["macos-latest", "ubuntu-latest", "windows-latest"]
rust: ["beta", "stable"]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- name: Install Rust
uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ matrix.rust }}
- name: Build the code
run: cargo build --verbose
- name: Test the code
run: cargo test --verbose
check-formatting:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Rust
uses: dtolnay/rust-toolchain@stable
- name: Check formatting
run: cargo fmt --check