Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 40 additions & 0 deletions .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: CI - Build and Test Service

on:
push:
branches:
- main
pull_request:
jobs:
continuous-tests-go:
name: Test go
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v6

- name: Configure Go
uses: actions/setup-go@v6
with:
go-version: "1.25"

- name: Go Format
run: gofmt -s -w . && git diff --exit-code

- name: Go Build
run: go build ./...

- name: Go Vet
run: go vet ./...

- name: golangci-lint
uses: golangci/golangci-lint-action@v9

- name: Test
run: go test -v -count=1 -race -shuffle=on -coverprofile=coverage.txt -json ./... > test.json

- name: Annotate tests
if: always()
uses: guyarb/[email protected]
with:
test-results: test.json
Loading