Skip to content

Enhancement: Add Build Verification GitHub Action for Pull Requests #15

@thedevyashsaini

Description

@thedevyashsaini

Problem

The repository has no automated build verification when pull requests are created. Contributors and maintainers cannot immediately see if their changes break the build, leading to potential integration issues.

Missing Functionality

  • No automatic compilation checking on PR creation
  • No verification that the Rust project builds successfully
  • No testing of both rusticle and rusticle_store subprojects
  • No cross-platform build verification

Required Implementation

Create a GitHub Action workflow that:

  • Runs on every pull request and push to main branch
  • Compiles the entire Rust workspace using cargo build
  • Runs all tests with cargo test
  • Checks code formatting with cargo fmt --check
  • Runs clippy linting with cargo clippy
  • Tests multiple Rust versions (stable, beta)
  • Verifies builds on multiple platforms (Linux, Windows, macOS)

Project Structure Context

The repository contains:

  • Main rusticle interpreter in /rusticle directory
  • Additional rusticle_store package in /rusticle_store directory
  • Both have their own Cargo.toml files

Workflow Requirements

  • Should run on pull_request and push to main branch
  • Use Rust GitHub Actions (e.g., actions-rs/toolchain)
  • Cache dependencies for faster builds
  • Report clear success/failure status
  • Block PR merging if build fails
  • Test the CLI functionality with example .lin files

Metadata

Metadata

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions