Browse Source

Create go.yml

Volodymyr Tkach 2 years ago
parent
commit
959ae1cd64
1 changed files with 22 additions and 0 deletions
  1. 22 0
      .github/workflows/go.yml

+ 22 - 0
.github/workflows/go.yml

@@ -0,0 +1,22 @@
+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@v3
+      with:
+        go-version: 1.19
+
+    - name: Test
+      run: go test -v ./...