Skip to content

Add interactive API docs at /docs using Scalar #6

Add interactive API docs at /docs using Scalar

Add interactive API docs at /docs using Scalar #6

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version-file: go.mod
- uses: extractions/setup-just@v2
- name: Check (fmt + vet + test + QA smoke)
run: just check
- name: Build all binaries
run: just build
docker:
needs: check
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/main' && github.event_name == 'push'
steps:
- uses: actions/checkout@v4
- uses: extractions/setup-just@v2
- 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
env:
DOCKER_REPO: ${{ secrets.DOCKERHUB_USERNAME }}/taskflow
run: |
just docker-build-cached
just docker-push latest
just docker-push ${{ github.sha }}