From 274d4cf2ff8d5cc895d51f61800492426a81e641 Mon Sep 17 00:00:00 2001 From: Bezaleel Olakunori Date: Sat, 22 Apr 2023 11:52:18 +0200 Subject: [PATCH 1/3] Create a job for building the project --- .github/workflows/build.yml | 18 ++++++++++++++++++ 1 file changed, 18 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..7c8d88f --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,18 @@ +name: Build +on: + push: + branches: ["main"] + pull_request: + types: [opened, reopened, synchronize] +jobs: + build: + name: Build Project + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - name: Set up Go + uses: actions/setup-go@v3 + with: + go-version: 1.18 + - name: Build project + run: go build ./src/main.go From add4a4e094a9338964d46a93dc39c49c276e9203 Mon Sep 17 00:00:00 2001 From: Bezaleel Olakunori Date: Sat, 22 Apr 2023 11:44:18 +0200 Subject: [PATCH 2/3] Create a job for building the project --- .github/workflows/build.yaml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .github/workflows/build.yaml diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml new file mode 100644 index 0000000..1b93c12 --- /dev/null +++ b/.github/workflows/build.yaml @@ -0,0 +1,20 @@ +name: Build + +on: + push: + branches: ["main"] + pull_request: + types: [opened, reopened, synchronize] + +jobs: + build: + name: Build Project + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - name: Set up Go + uses: actions/setup-go@v3 + with: + go-version: 1.18 + - name: Build project + run: go build ./src/main.go From 5575eb4951cbd5d755e1253f2b0a7ef50c084389 Mon Sep 17 00:00:00 2001 From: Bezaleel Olakunori Date: Sat, 22 Apr 2023 11:45:34 +0200 Subject: [PATCH 3/3] Add Build pipeline status badge --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index f091841..e321fc9 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,7 @@ # Fractage +[![Build](https://github.com/B3zaleel/fractage/actions/workflows/build.yml/badge.svg)](https://github.com/B3zaleel/fractage/actions/workflows/build.yml) + Fractage is a fractal image generation service written in Golang. ![Newton basin fractal generation with fractage](assets/readme-0.png)