Add .gitea/workflows/go-test.yml
Some checks failed
CI Demo / build (push) Successful in 3s
Docker Test / docker-ops (push) Successful in 5s
Java Test / java-hello (push) Has been cancelled
Kotlin Test / kotlin-hello (push) Has been cancelled
Node.js Test / nodejs-test (push) Has been cancelled
Python Test / python-hello (push) Has been cancelled
Swift Test / swift-hello (push) Has been cancelled
Go Test / go-test (push) Has been cancelled
Some checks failed
CI Demo / build (push) Successful in 3s
Docker Test / docker-ops (push) Successful in 5s
Java Test / java-hello (push) Has been cancelled
Kotlin Test / kotlin-hello (push) Has been cancelled
Node.js Test / nodejs-test (push) Has been cancelled
Python Test / python-hello (push) Has been cancelled
Swift Test / swift-hello (push) Has been cancelled
Go Test / go-test (push) Has been cancelled
This commit is contained in:
17
.gitea/workflows/go-test.yml
Normal file
17
.gitea/workflows/go-test.yml
Normal file
@@ -0,0 +1,17 @@
|
||||
name: Go Test
|
||||
on: [push]
|
||||
|
||||
jobs:
|
||||
go-test:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Set up Go
|
||||
uses: actions/setup-go@v4
|
||||
with:
|
||||
go-version: '1.21'
|
||||
|
||||
- name: Run tests
|
||||
run: go test ./...
|
Reference in New Issue
Block a user