From 56136d0a258b2bff11a2a1e43a3aa43e8786682f Mon Sep 17 00:00:00 2001 From: Logan-Roche Date: Wed, 18 Feb 2026 11:41:48 -0800 Subject: [PATCH 1/3] Adds new Github Actions --- .github/workflows/actions.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/actions.yml diff --git a/.github/workflows/actions.yml b/.github/workflows/actions.yml new file mode 100644 index 0000000..dd67933 --- /dev/null +++ b/.github/workflows/actions.yml @@ -0,0 +1,23 @@ +name: Build C++ + +on: + push: + branches: "devops" + pull_request: + branches: [main] + +jobs: + install: + runs-on: ubuntu-latest + steps: + - name: Install dependencies + run: | + sudo apt-get update + sudo apt-get install -y -f build-essential g++ cmake + build: + needs: install + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - name: Build project + run: g++ -std=c++17 main.cpp From 07cd3dfb398cd74924582ac1a322b3faec67729e Mon Sep 17 00:00:00 2001 From: Logan-Roche Date: Wed, 18 Feb 2026 11:46:45 -0800 Subject: [PATCH 2/3] Adds status badge --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index bbcf55a..d531774 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,7 @@ # autovalidate +[![Copilot code review](https://github.com/ChicoState/autovalidate/actions/workflows/copilot-pull-request-reviewer/copilot-pull-request-reviewer/badge.svg)](https://github.com/ChicoState/autovalidate/actions/workflows/copilot-pull-request-reviewer/copilot-pull-request-reviewer) + I like that app too! -This repo is compatible with the [cpp-container docker container](https://github.com/ChicoState/cpp-container). \ No newline at end of file +This repo is compatible with the [cpp-container docker container](https://github.com/ChicoState/cpp-container). From 79efc74b6243ca1c2b59d43036ac43afa890fc33 Mon Sep 17 00:00:00 2001 From: Logan-Roche Date: Wed, 18 Feb 2026 11:52:36 -0800 Subject: [PATCH 3/3] Fixes naming --- .github/workflows/actions.yml | 2 +- README.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/actions.yml b/.github/workflows/actions.yml index dd67933..6cc320f 100644 --- a/.github/workflows/actions.yml +++ b/.github/workflows/actions.yml @@ -1,4 +1,4 @@ -name: Build C++ +name: compile on: push: diff --git a/README.md b/README.md index d531774..89b1823 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # autovalidate -[![Copilot code review](https://github.com/ChicoState/autovalidate/actions/workflows/copilot-pull-request-reviewer/copilot-pull-request-reviewer/badge.svg)](https://github.com/ChicoState/autovalidate/actions/workflows/copilot-pull-request-reviewer/copilot-pull-request-reviewer) +[![Copilot code review](https://github.com/ChicoState/autovalidate/actions/workflows/copilot-pull-request-reviewer/copilot-pull-request-reviewer/badge.svg)](https://github.com/ChicoState/autovalidate/actions/workflows/compile/compile) I like that app too!