Skip to content

Merge pull request #283 from controlplaneio/dependabot/go_modules/sig… #297

Merge pull request #283 from controlplaneio/dependabot/go_modules/sig…

Merge pull request #283 from controlplaneio/dependabot/go_modules/sig… #297

Workflow file for this run

---
name: Testing - Unit
# Split until path filtering for jobs added
# https://github.community/t/path-filtering-for-jobs-and-steps/16447
on:
push:
branches: [master]
paths:
- "**.go"
- "go.mod"
- "go.sum"
pull_request:
branches: [master]
paths:
- "**.go"
- "go.mod"
- "go.sum"
jobs:
unit:
name: Go Unit Tests
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version-file: go.mod
- name: Run go unit tests
run: |
make test-unit