Skip to content

Bump edition to 2021 (#73) #115

Bump edition to 2021 (#73)

Bump edition to 2021 (#73) #115

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: ["1.56", "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