Skip to content

Merge pull request #169 from LAA-Software-Engineering/dependabot/go_m… #93

Merge pull request #169 from LAA-Software-Engineering/dependabot/go_m…

Merge pull request #169 from LAA-Software-Engineering/dependabot/go_m… #93

Workflow file for this run

name: Backend
on:
workflow_dispatch: # Enables the manual trigger option
push:
branches: [ "main" ]
paths:
- 'backend/**'
- '!backend/**/*.md' # Exclude .md files within 'backend'
- '!backend/CODEOWNERS'
- '!backend/Makefile'
pull_request:
branches: [ "main" ]
paths:
- 'backend/**'
- '!backend/**/*.md'
- '!backend/CODEOWNERS'
- '!backend/Makefile'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.25'
- name: Build
run: cd backend && go build -v ./...
- name: Test
run: cd backend && go test -v ./... -race -cover