Skip to content

Merge pull request #492 from controlplaneio/dependabot/go_modules/git… #255

Merge pull request #492 from controlplaneio/dependabot/go_modules/git…

Merge pull request #492 from controlplaneio/dependabot/go_modules/git… #255

Workflow file for this run

---
name: Testing - Unit
# Split until path filtering for jobs added
# https://gh.neting.ccmunity/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@v3
- name: Set up Go
uses: actions/setup-go@v4
id: go
with:
go-version: ^1.19
- name: Run go unit tests
run: |
make test-unit