feat(ci): include test
This commit is contained in:
@@ -3,7 +3,22 @@ run-name: ${{ gitea.actor }} is testing out Gitea Actions 🚀
|
||||
on: [pull_request]
|
||||
|
||||
jobs:
|
||||
Explore-docker-Actions:
|
||||
Test:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Check out repository code
|
||||
uses: actions/checkout@v4
|
||||
- name: Setup Go
|
||||
uses: actions/setup-go@v5
|
||||
with:
|
||||
go-version: '1.24.x'
|
||||
- name: Install dependencies
|
||||
run: go get .
|
||||
- name: Build
|
||||
run: go build -v ./...
|
||||
- name: Test with the Go CLI
|
||||
run: go test ./...
|
||||
Build_Image:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Check out repository code
|
||||
|
Reference in New Issue
Block a user