gopenfusion/.github/workflows/tests.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 ./...