Skip to content

Update TODO.md: mark completed items, consolidate TUI section #1

Update TODO.md: mark completed items, consolidate TUI section

Update TODO.md: mark completed items, consolidate TUI section #1

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version-file: go.mod
- name: Check formatting
run: test -z "$(gofmt -l .)" || (echo "Files need formatting:" && gofmt -l . && exit 1)
- name: Vet
run: go vet ./...
- name: Unit and integration tests
run: go test -count=1 -race ./...
- name: Build all binaries
run: |
go build -o taskflow-server ./cmd/taskflow-server
go build -o taskflow ./cmd/taskflow
go build -o taskflow-mcp ./cmd/taskflow-mcp
- name: QA smoke test
run: |
# Install jq for the QA script.
sudo apt-get install -qy jq
./scripts/qa-test.sh
docker:
needs: test
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/main' && github.event_name == 'push'
steps:
- uses: actions/checkout@v4
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Log in to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v6
with:
context: .
push: true
tags: |
${{ secrets.DOCKERHUB_USERNAME }}/taskflow:latest
${{ secrets.DOCKERHUB_USERNAME }}/taskflow:${{ github.sha }}
cache-from: type=gha
cache-to: type=gha,mode=max