Skip to content

Add Github CI files, running ci workspace #8

Add Github CI files, running ci workspace

Add Github CI files, running ci workspace #8

Workflow file for this run

name: CI
on:
push:
branches: [ main, ci ]
pull_request:
branches: [ main ]
types:
- opened
- reopened
- synchronize
- ready_for_review
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
if: ${{ github.event_name == 'push' || !github.event.pull_request.draft }}
name: build-${{ matrix.toolchain }}
strategy:
fail-fast: false
matrix:
toolchain:
- nightly-2025-06-26 # Should line up with the `1.88-stable` release date
- nightly
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Install toolchain
uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ matrix.toolchain }}
profile: minimal
components: clippy
- name: Fmt
run: rustup component add rustfmt
- name: Default CI
run: cargo run -p ci