Skip to content

Refactor DLQ event reception in broker tests #7

Refactor DLQ event reception in broker tests

Refactor DLQ event reception in broker tests #7

Workflow file for this run

name: Continuous Integration
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
validate:
name: Build and Verify
runs-on: ubuntu-latest
defaults:
run:
working-directory: altiquum-event-engine
steps:
- name: Checkout Code
uses: actions/checkout@v4
with:
path: altiquum-event-engine
- name: Checkout Core Dependency
uses: actions/checkout@v4
with:
repository: Altiquum/altiquum-core
path: altiquum-core
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '1.21'
cache: true
- name: Verify Formatting
run: |
if [ -n "$(gofmt -l .)" ]; then
echo "Go code is not formatted properly. Please run 'gofmt -w .'"
gofmt -d .
exit 1
fi
- name: Run Go Vet
run: go vet ./...
- name: Execute Tests (with Race Detector)
run: go test -v -race ./...
- name: Verify Module Build
run: go build ./...
- name: Run Gosec Security Scanner
uses: securego/gosec@master
with:
args: ./altiquum-event-engine/...