19 lines
375 B
YAML
19 lines
375 B
YAML
name: ci
|
|
|
|
on:
|
|
push:
|
|
branches: [main]
|
|
|
|
jobs:
|
|
test-and-build:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: actions/setup-go@v5
|
|
with:
|
|
go-version: '1.24.2'
|
|
- name: Test
|
|
run: go test ./...
|
|
- name: Build Docker image
|
|
run: docker build -t git.danhenry.dev/thelab/work-queue-api:latest .
|