GitHub action and dependabot integration
Change-Id: I9ed38eaff04bafab399c5a4e23e9e68ac49950fc
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
new file mode 100644
index 0000000..de1779d
--- /dev/null
+++ b/.github/workflows/ci.yml
@@ -0,0 +1,33 @@
+name: CI
+
+on:
+ push:
+ branches: [main]
+ pull_request:
+ branches: [main]
+
+permissions:
+ contents: read
+
+jobs:
+ test:
+ runs-on: ubuntu-latest
+ strategy:
+ matrix:
+ go-version: ['1.24']
+ steps:
+ - uses: actions/checkout@v4
+
+ - name: Set up Go ${{ matrix.go-version }}
+ uses: actions/setup-go@v5
+ with:
+ go-version: ${{ matrix.go-version }}
+
+ - name: Vet
+ run: go vet ./...
+
+ - name: Test
+ run: go test -race ./...
+
+ - name: Build
+ run: go build -v ./cmd/koralmapper/