Skip to content

High performance, self-hosted, newsletter and mailing list manager with a modern dashboard. Single binary app.

ci: add a compile check for open PRs (#1858)

Karan Sharma6886878ec52a
diff --git a/.github/workflows/build-sanity.yml b/.github/workflows/build-sanity.yml
new file mode 100644
index 00000000..7e143022
--- /dev/null
+++ b/.github/workflows/build-sanity.yml
@@ -0,0 +1,22 @@
+name: Build Sanity Check
+
+on:
+ pull_request:
+ types:
+ - opened
+
+jobs:
+ build:
+ runs-on: ubuntu-latest
+
+ steps:
+ - name: Checkout Code
+ uses: actions/checkout@v4
+
+ - name: Set up Go
+ uses: actions/setup-go@v4
+ with:
+ go-version: "1.22"
+
+ - name: Prepare Dependencies and Build
+ run: make dist