Skip to content

add docker build workflow #12

add docker build workflow

add docker build workflow #12

Workflow file for this run

name: Test
on:
push:
workflow_call:
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: '1.22.x'
- name: Install Dependencies
run: go get ./...
- name: Build
run: go build ./...
- name: Run tests
run: go test ./... -json > TestResults-.json
- name: Upload test results
uses: actions/upload-artifact@v4
if: ${{ always() }}
with:
name: Go-results
path: TestResults.json