Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
45 changes: 0 additions & 45 deletions .github/workflows/dist.yml

This file was deleted.

4 changes: 2 additions & 2 deletions .github/workflows/gavel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
node-version: "22"

- name: Gavel test
uses: flanksource/gavel@43a9189b99e71ed928f418e01cd34aa797c2c0e0 # v0.0.54
uses: flanksource/gavel@c5d04cc61316c8a3147aa5141c01df1a7465f69d # v0.0.67
with:
args: test --test-timeout 10m --timeout 20m
comment-header: gavel-test
Expand Down Expand Up @@ -92,7 +92,7 @@ jobs:
run: echo "$GITHUB_WORKSPACE/.bin" >> "$GITHUB_PATH"

- name: Gavel lint
uses: flanksource/gavel@43a9189b99e71ed928f418e01cd34aa797c2c0e0 # v0.0.54
uses: flanksource/gavel@c5d04cc61316c8a3147aa5141c01df1a7465f69d # v0.0.67
with:
args: lint --no-progress --no-color --timeout 20m
comment-header: gavel-lint
Expand Down
21 changes: 0 additions & 21 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,27 +66,6 @@ jobs:
cache: true
cache-dependency-path: "**/go.sum"

# Build and commit the embedded task-ui bundle (taskui.js) so the release
# commit/tag carries it. It is gitignored build output, so without this a
# downstream module fetching clicky by tag/SHA fails task/ui/assets.go's
# `//go:embed dist/taskui.js` with "no matching files found".
- name: Build and commit task-ui bundle
if: github.event.inputs.dry-run != 'true'
env:
GH_TOKEN: ${{ secrets.FLANKBOT }}
run: |
make task-ui
git config user.name "github-actions[bot]"
git config user.email "github-actions[bot]@users.noreply.github.com"
git add -f task/ui/dist/taskui.js
if ! git diff --cached --quiet; then
git commit -m "chore(embed): rebuild task-ui bundle [skip ci]"
git remote set-url origin "https://x-access-token:${GH_TOKEN}@github.com/${{ github.repository }}.git"
git push origin HEAD:${{ github.ref_name }}
else
echo "task-ui bundle unchanged"
fi

- name: Semantic Release
id: semantic
uses: cycjimmy/semantic-release-action@v4
Expand Down
8 changes: 0 additions & 8 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,6 @@ dist/

*pprof

# Note: task/ui/dist/taskui.js is committed (it is `//go:embed`-ed by
# task/ui/assets.go so downstream modules can build). The un-ignore rule
# lives in task/ui/.gitignore, which the broad dist/ rule there would
# otherwise shadow.

# Test coverage files
coverage.out
coverage.html
Expand Down Expand Up @@ -83,9 +78,6 @@ clicky
!examples/testdata/*.fixture.yaml
!internal/clihelp/example-schema.yaml
!schemaform/testdata/*.json
!task/ui/package.json
!task/ui/package-lock.json
!task/ui/tsconfig.json
!examples/enitity/Taskfile.yaml
!examples/enitity/webapp/index.html
!examples/enitity/webapp/.oxlintrc.json
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Build stage
FROM golang:1.25-alpine AS builder
FROM golang:1.27.3-alpine@sha256:d200d2dd76b03a99b52651fd1325aff7dcd35422c35c01bac56571b0507f3deb AS builder

# Install git and ca-certificates (needed for private repos and HTTPS)
RUN apk add --no-cache git ca-certificates tzdata
Expand Down
7 changes: 1 addition & 6 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ GIT_COMMIT ?= $(shell git rev-parse --short HEAD 2>/dev/null || echo unknown)
BUILD_DATE ?= $(shell date -u +%Y-%m-%dT%H:%M:%SZ)
LDFLAGS ?= -X main.commit=$(GIT_COMMIT) -X main.date=$(BUILD_DATE)

.PHONY: test build clean install task-ui tidy
.PHONY: test build clean install tidy

test:
go test -v ./...
Expand Down Expand Up @@ -71,14 +71,9 @@ docs-site:
docs-site-build:
cd docs/site && pnpm install --frozen-lockfile && pnpm build

# Build the task-ui frontend bundle (Preact + Vite → single IIFE)
task-ui:
cd task/ui && npm ci && npm run build

# Clean build artifacts
clean:
rm -f clicky
rm -rf task/ui/dist task/ui/node_modules
go clean

# Install dependencies
Expand Down
Loading
Loading