mirror of
https://github.com/CPunch/gopenfusion.git
synced 2024-11-14 03:50:05 +00:00
25 lines
429 B
YAML
25 lines
429 B
YAML
name: Go
|
|
|
|
on:
|
|
push:
|
|
paths:
|
|
- ./**.go
|
|
- go.mod
|
|
- go.sum
|
|
- .github/workflows/tests.yaml
|
|
|
|
jobs:
|
|
tests:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- name: Setup Go
|
|
uses: actions/setup-go@v4
|
|
with:
|
|
go-version: '1.21.x'
|
|
- name: Install dependencies
|
|
run: go get .
|
|
- name: Test with the Go CLI
|
|
run: go test -v ./...
|