feat: Implement GitHub Actions Workflows for CI/CD
All checks were successful
Test Changes on Push / build-vet-test (push) Successful in 19s
All checks were successful
Test Changes on Push / build-vet-test (push) Successful in 19s
This commit introduces Actions workflows to automate the Continuous Integration and Continuous Deployment process. It includes: - A workflow for running build, vet, and test on branch pushes - A workflow for building and publishing `nighly`binaries and Docker images upon pull requests being merged into the main branch. - A workflow for building, and uploading new releases.
This commit is contained in:
20
.gitea/workflows/test-commits.yml
Normal file
20
.gitea/workflows/test-commits.yml
Normal file
@@ -0,0 +1,20 @@
|
||||
name: Test Changes on Push
|
||||
|
||||
on:
|
||||
push:
|
||||
|
||||
jobs:
|
||||
build-vet-test:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Set up Go
|
||||
uses: actions/setup-go@v2
|
||||
with:
|
||||
go-version: '1.21' # Specify your Go version
|
||||
- name: Build
|
||||
run: go build ./...
|
||||
- name: Vet
|
||||
run: go vet ./...
|
||||
- name: Test
|
||||
run: go test ./...
|
||||
Reference in New Issue
Block a user