Files
codebase-to-prompt/.github/workflows/ci.yml
Gabriel Kaszewski 8745c2627e
Some checks failed
Continuous Integration / Build and Test on ubuntu-latest (push) Failing after 1m52s
Continuous Integration / Build and Test on windows-latest (push) Has been cancelled
fix: update branch references from 'main' to 'master' in CI workflow
2025-08-24 14:26:21 +02:00

35 lines
687 B
YAML

name: Continuous Integration
on:
push:
branches: [master]
pull_request:
branches: [master]
workflow_dispatch:
jobs:
build_and_test:
name: Build and Test on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@stable
with:
components: rustfmt, clippy
- name: Check formatting
run: cargo fmt -- --check
- name: Run Clippy
run: cargo clippy -- -D warnings
- name: Run tests
run: cargo test