Răsfoiți Sursa

ci: setup build workflow (#23)

* ci: setup build workflow

* ci: specify go-version field

* ci: remove "Print Go version" step
rigormorrtiss 4 ani în urmă
părinte
comite
342adf1461
1 a modificat fișierele cu 16 adăugiri și 0 ștergeri
  1. 16 0
      .github/workflows/ci.yml

+ 16 - 0
.github/workflows/ci.yml

@@ -0,0 +1,16 @@
+name: ci
+on: [push, pull_request]
+
+jobs:
+  build:
+    runs-on: ubuntu-latest
+    steps:
+      - name: Checkout
+        uses: actions/checkout@v2
+      - name: Setup Go
+        uses: actions/setup-go@v2
+        with:
+          go-version: '^1.16'
+      - name: Build
+        run: go build
+