gopenfusion/.github/workflows/tests.yaml

27 lines
462 B
YAML
Raw Normal View History

2023-11-26 22:19:43 +00:00
name: unit-tests
2023-11-26 05:36:02 +00:00
on:
push:
paths:
2023-11-26 23:00:37 +00:00
- cmd/**
- config/**
- internal/**
- login/**
- shard/**
2023-11-26 05:36:02 +00:00
- go.mod
- go.sum
- .github/workflows/tests.yaml
jobs:
2023-11-26 22:19:43 +00:00
run:
2023-11-26 05:36:02 +00:00
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v4
with:
go-version: '1.21.x'
- name: Test with the Go CLI
run: go test -timeout 10s -v ./...