shithub: ricket

Download patch

ref: c60f8cc10168f64505d2923db576301285f21671
parent: 5650ff57617f72110955da300be0a4e55030ae04
author: Slashscreen <SlashScreen@users.noreply.github.com>
date: Tue Aug 8 10:49:57 EDT 2023

Create go.yml

diff: cannot open b/.github/workflows//null: file does not exist: 'b/.github/workflows//null' diff: cannot open b/.github//null: file does not exist: 'b/.github//null'
--- /dev/null
+++ b/.github/workflows/go.yml
@@ -1,0 +1,31 @@
+# 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@v3
+
+    - name: Set up Go
+      uses: actions/setup-go@v4
+      with:
+        go-version: '1.20'
+
+    - name: Install dependencies
+      run: go get .
+  
+    - name: Build
+      run: GOOS=plan9 go build -v ./...
+
+    - name: Test
+      run: GOOS=plan9 go test -v ./...