From e9066702abd13a4bbd7ec4c77f1dc3e813b1bbef Mon Sep 17 00:00:00 2001 From: bk7312 Date: Sun, 6 Apr 2025 09:30:59 +0800 Subject: [PATCH 1/2] Update readme.md --- .gitignore | 1 + README.md | 6 ++++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 2092f54e78..be8e851055 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ out .env learn-cicd-starter notely +.DS_Store \ No newline at end of file diff --git a/README.md b/README.md index c2bec0368b..338d0a8781 100644 --- a/README.md +++ b/README.md @@ -18,6 +18,8 @@ Run the server: go build -o notely && ./notely ``` -*This starts the server in non-database mode.* It will serve a simple webpage at `http://localhost:8080`. +_This starts the server in non-database mode._ It will serve a simple webpage at `http://localhost:8080`. -You do *not* need to set up a database or any interactivity on the webpage yet. Instructions for that will come later in the course! +You do _not_ need to set up a database or any interactivity on the webpage yet. Instructions for that will come later in the course! + +BK's version of Boot.dev's Notely app. From 1e2800e286dc1e5129695a231a65c1b4e645b0f4 Mon Sep 17 00:00:00 2001 From: bk7312 Date: Sun, 6 Apr 2025 11:35:45 +0800 Subject: [PATCH 2/2] add ci.yml --- .github/workflows/ci.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000000..99ceb2f807 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,22 @@ +name: ci + +on: + pull_request: + branches: [main] + +jobs: + tests: + name: Tests + runs-on: ubuntu-latest + + steps: + - name: Check out code + uses: actions/checkout@v4 + + - name: Set up Go + uses: actions/setup-go@v5 + with: + go-version: "1.23.0" + + - name: Force Failure + run: (exit 1)