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.
21 lines
400 B
YAML
21 lines
400 B
YAML
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 ./...
|