mirror of
https://github.com/CPunch/gopenfusion.git
synced 2024-11-21 23:10:06 +00:00
29 lines
494 B
YAML
29 lines
494 B
YAML
name: unit-tests
|
|
|
|
on:
|
|
push:
|
|
paths:
|
|
- cmd/**
|
|
- config/**
|
|
- cnet/**
|
|
- internal/**
|
|
- login/**
|
|
- shard/**
|
|
- util/**
|
|
- go.mod
|
|
- go.sum
|
|
- .github/workflows/tests.yaml
|
|
|
|
jobs:
|
|
run:
|
|
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 ./...
|