Hexylena's Project Management Tool

๐Ÿ—’ Binary builds available

Metadata
Key Value
๐Ÿ‘จโ€๐Ÿ‘ฉโ€๐Ÿ‘งโ€๐Ÿ‘ฆ Parents
๐Ÿท Tags
Created 2024-08-07 10:46:01
Modified 2024-08-07 10:47:52

Contents

It can actually be run outside of it’s own directory now, yay. All the files are embedded leading to a whopping 17Mb binary.

$ git show 73b2d93a58f9f6d3e18f071a8149cac849789938
commit 73b2d93a58f9f6d3e18f071a8149cac849789938
Author: Helena <hexylena@galaxians.org>
Date:   Wed Aug 7 12:27:30 2024 +0200

    Add build + test action

diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml
new file mode 100644
index 0000000..cd33a16
--- /dev/null
+++ b/.github/workflows/go.yml
@@ -0,0 +1,37 @@
+# This workflow will build a golang project
+# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-go
+
+name: Go
+
+on:
+  push:
+    branches: [ "main" ]
+  pull_request:
+    branches: [ "main" ]
+
+jobs:
+
+  build:
+    runs-on: ubuntu-latest
+    steps:
+    - uses: actions/checkout@v4
+
+    - name: Set up Go
+      uses: actions/setup-go@v4
+      with:
+        go-version: '1.21'
+
+    - name: Build
+      run: go build -v ./...
+
+    - name: Test
+      run: go test -v ./...
+
+    - name: Build pm
+      run: go build -v
+
+    - name: Upload Go test results
+      uses: actions/upload-artifact@v4
+      with:
+        name: pm-linux-x64
+        path: pm