From 3a1426b66f67e8468e380a989a2f04bdf0eebcac Mon Sep 17 00:00:00 2001 From: Skye Santilla Date: Wed, 18 Feb 2026 09:32:06 -0800 Subject: [PATCH 1/6] Fixed Issue #1 - Removed the typo --- README.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/README.md b/README.md index bfbdeec..6eb8553 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,3 @@ # git-practice -This is a typo: -Remove this and replace it with this text: HEY! You should read me! I'm a README.md file! From 6eb900b71e1e07b2ad7dbf718eb9be66b3e51b03 Mon Sep 17 00:00:00 2001 From: Skye Santilla Date: Wed, 18 Feb 2026 09:33:39 -0800 Subject: [PATCH 2/6] Resolved Issue #2 - Created a main.cpp file and added hello world code --- main.cpp | 0 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 main.cpp diff --git a/main.cpp b/main.cpp new file mode 100644 index 0000000..e69de29 From 96279a514ad7b573f7ea4a1e31fe46d4859f5bda Mon Sep 17 00:00:00 2001 From: Skye Santilla Date: Wed, 18 Feb 2026 09:34:31 -0800 Subject: [PATCH 3/6] Fixed Issue #3 - Code has notes to make work clear and understandable --- main.cpp | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/main.cpp b/main.cpp index e69de29..d511650 100644 --- a/main.cpp +++ b/main.cpp @@ -0,0 +1,11 @@ +#include + +// This is a simple C++ program that prints "Hello, World!" to the console. +main () +{ + // Output "Hello, World!" to the console + std::cout << "Hello, World!" << std::endl; + + // Return 0 to indicate that the program ended successfully + return 0; +} \ No newline at end of file From cbacc0742d8059dc6c562d3f26bb9952f5e9b1d1 Mon Sep 17 00:00:00 2001 From: Skye Santilla Date: Wed, 18 Feb 2026 09:42:02 -0800 Subject: [PATCH 4/6] Created a workflows folder and a build.yml for CI --- .github/workflows/build.yml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .github/workflows/build.yml diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..8e616fe --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,29 @@ +name: Build + +on: + push: + branches: [ main, master, practice-branch ] + pull_request: + branches: [ main, master ] + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - name: Checkout repository + uses: actions/checkout@v3 + + - name: Install C++ compiler + run: | + sudo apt-get update + sudo apt-get install -y g++ + + - name: Build project + run: | + if [ -f main.cpp ]; then + g++ -o main main.cpp + echo "Build successful" + else + echo "No main.cpp found, skipping build" + fi From 321a3f563c072f5968e619451d4846635c3d6f38 Mon Sep 17 00:00:00 2001 From: Skye Santilla Date: Wed, 18 Feb 2026 09:43:28 -0800 Subject: [PATCH 5/6] Changed name to C++ Build --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 8e616fe..2b2d36b 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,4 +1,4 @@ -name: Build +name: C++ Build on: push: From 09ac03f3fccb3e4f36a96f4353dac0dfcc1e2795 Mon Sep 17 00:00:00 2001 From: Skye Santilla Date: Wed, 18 Feb 2026 09:45:34 -0800 Subject: [PATCH 6/6] Created a status badge and added it to the top of README.md --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 6eb8553..60ee683 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,4 @@ +[![C++ Build](https://github.com/sesantilla/git-practice/actions/workflows/build.yml/badge.svg)](https://github.com/sesantilla/git-practice/actions/workflows/build.yml) # git-practice HEY! You should read me! I'm a README.md file!