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
3 changes: 2 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,5 @@ jobs:
steps:
- uses: actions/checkout@v7
- uses: jdx/mise-action@v2
- run: task check
- run: bun install --frozen-lockfile
- run: mise run check
17 changes: 10 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,16 @@ permissions:
jobs:
release:
runs-on: ubuntu-latest
strategy:
matrix:
target:
- linux-x64
steps:
- uses: actions/checkout@v7
with:
fetch-depth: 0
- uses: jdx/mise-action@v2
- run: task check
- run: goreleaser release --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
HOMEBREW_TAP_TOKEN: ${{ secrets.HOMEBREW_TAP_TOKEN }}
- run: bun install --frozen-lockfile
- run: mise run check
- run: bun build src/bin/akua.ts --compile --target=bun-${{ matrix.target }} --outfile dist/akua-${{ matrix.target }}
- uses: softprops/action-gh-release@v2
with:
files: dist/akua-${{ matrix.target }}
47 changes: 0 additions & 47 deletions .github/workflows/update-api-client.yml

This file was deleted.

33 changes: 33 additions & 0 deletions .github/workflows/update-openapi.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Update OpenAPI

on:
schedule:
- cron: "0 9 * * 1"
workflow_dispatch:

permissions:
contents: write
pull-requests: write

jobs:
update:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
- uses: jdx/mise-action@v2
- run: bun install --frozen-lockfile
- run: mise run spec:fetch
- run: mise run generate
- run: mise run check
- uses: peter-evans/create-pull-request@v8
with:
branch: chore/update-openapi
commit-message: "chore: update OpenAPI spec and command registry"
title: "chore: update OpenAPI spec and command registry"
body: |
Automated weekly update of the public Akua OpenAPI snapshot.

- Fetched `https://api.akua.dev/v1/openapi.json`
- Regenerated the public operation command registry
- Verified `mise run check`
delete-branch: true
3 changes: 1 addition & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
# Binary
/cnap
dist/
node_modules/

# OS
.DS_Store
18 changes: 0 additions & 18 deletions .golangci.yml

This file was deleted.

69 changes: 0 additions & 69 deletions .goreleaser.yaml

This file was deleted.

Loading
Loading