Commit 27b349a
Changed files (1)
.github
workflows
.github/workflows/go-test.yaml
@@ -0,0 +1,26 @@
+---
+name: Go Test
+on:
+ pull_request:
+ paths-ignore:
+ - '.github/**'
+concurrency:
+ group: ${{ github.workflow }}-${{ github.ref }}
+ cancel-in-progress: true
+jobs:
+ go-test:
+ runs-on: ubuntu-latest
+ permissions:
+ contents: write
+ steps:
+ - uses: actions/checkout@v4
+ - name: Set up Go
+ uses: actions/setup-go@v5
+ with:
+ go-version: stable
+ - name: Install dependencies
+ run: go get .
+ - name: Build
+ run: go build -v ./...
+ - name: Test
+ run: go test ./...