Skip to content

chore: find ep number #399

chore: find ep number

chore: find ep number #399

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
workflow_dispatch:
env:
CARGO_TERM_COLOR: always
jobs:
ci:
name: ${{ matrix.os }} / Stable
runs-on: ${{ matrix.os }}
strategy:
matrix:
include:
- os: ubuntu-latest
target: x86_64-unknown-linux-musl
- os: windows-latest
target: x86_64-pc-windows-msvc
- os: macos-latest
target: x86_64-apple-darwin
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Setup Rust toolchain
uses: dtolnay/rust-toolchain@stable
with:
targets: ${{ matrix.target }}
components: rustfmt, clippy
- name: Install packages (Ubuntu)
if: startsWith(matrix.os, 'ubuntu')
run: |
ci/ubuntu-install-packages
- name: cargo fmt
run: cargo fmt --all -- --check
- name: cargo clippy
run: cargo clippy --target ${{ matrix.target }} -- -D warnings
- name: Build
run: cargo build --target ${{ matrix.target }}
- name: Install latest nextest release
uses: taiki-e/install-action@nextest
- name: Test
run: cargo nextest run --target ${{ matrix.target }}