Skip to content

Add GitHub Action that compiles project - #1

Merged
JacquelineNi merged 1 commit into
mainfrom
jacob/ci
Jan 23, 2026
Merged

Add GitHub Action that compiles project#1
JacquelineNi merged 1 commit into
mainfrom
jacob/ci

Conversation

@jakejack13

Copy link
Copy Markdown
Contributor

This PR adds a CI (continuous integration) pipeline via GitHub Actions that will check whether the project compiles. Here's a breakdown of how it works:

  1. The action triggers on either a commit to the main branch (push), a pull request (pull_request), or by manually being invoked on GitHub (workflow_dispatch)
  2. The action clones the repository, downloads Java, and then builds the project with Gradle.
  3. The outputs show up next to the commit or on the pull request. It will be either a green check (everything compiles!) or a red X (sad). You can see this in action on this very PR under the new checks menu! You'll see "All checks have passed. 1 successful check"

This will help give a visual indication of if a PR is ready to be merged or if main is currently valid without having to check out the branch and do it manually. It's a very simple check for now but you can expand on it with all sorts of things.

@JacquelineNi
JacquelineNi merged commit 6fbfa44 into main Jan 23, 2026
1 check passed

@JacquelineNi JacquelineNi left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yummy code :3

@jakejack13
jakejack13 deleted the jacob/ci branch January 29, 2026 03:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants