mirror of
https://github.com/CPunch/gopenfusion.git
synced 2024-11-24 16:11:04 +00:00
started testing workflow
This commit is contained in:
parent
bb50948935
commit
d31723e245
24
.github/workflows/tests.yaml
vendored
Normal file
24
.github/workflows/tests.yaml
vendored
Normal file
@ -0,0 +1,24 @@
|
||||
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 ./...
|
Loading…
Reference in New Issue
Block a user