This repository has been archived on 2024-04-08. You can view files and clone it, but cannot push or open issues or pull requests.
dagger/.github/workflows/test-unit.yml
Kasper Juul Hermansen 282d3120f9
Some checks reported errors
renovate/artifacts Artifact file update failure
continuous-integration/drone/push Build encountered an error
continuous-integration/drone/pr Build encountered an error
fix(deps): update all dependencies
2024-03-11 15:20:16 +00:00

38 lines
655 B
YAML

name: "Test Unit"
on:
push:
branches: [main]
paths:
- '**.go'
- 'Makefile'
- 'go.mod'
- 'go.sum'
- '.github/workflows/test-unit.yml'
pull_request:
branches: [main]
paths:
- '**.go'
- 'Makefile'
- 'go.mod'
- 'go.sum'
- '.github/workflows/test-unit.yml'
jobs:
unit-tests:
name: "Unit Tests"
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- name: "Check out"
uses: actions/checkout@v4
- name: "Setup Go"
uses: actions/setup-go@v5
with:
go-version: 1.16
- name: Test
run: |
make test