diff --git a/.dockerignore b/.dockerignore
deleted file mode 100644
index b4233e0..0000000
--- a/.dockerignore
+++ /dev/null
@@ -1,13 +0,0 @@
-.git
-.github
-.gitignore
-*.md
-.env
-.env.*
-Dockerfile
-.dockerignore
-coverage.out
-docs/
-deploy/
-api/
-*_test.go
diff --git a/.editorconfig b/.editorconfig
index 39f1a41..43e5869 100644
--- a/.editorconfig
+++ b/.editorconfig
@@ -54,10 +54,6 @@ indent_size = 4
[{Makefile,*.mk}]
indent_style = tab
-# Dockerfiles.
-[Dockerfile*]
-indent_size = 4
-
# GitHub Actions workflows — 2 spaces.
[.github/**/*.{yml,yaml}]
indent_size = 2
diff --git a/.gitattributes b/.gitattributes
index 3342e8f..30e2328 100644
--- a/.gitattributes
+++ b/.gitattributes
@@ -31,8 +31,6 @@
# --- Build / packaging ----------------------------------------------------
Makefile text eol=lf
*.mk text eol=lf
-Dockerfile* text eol=lf
-docker-compose*.yml text eol=lf
.github/**/*.yml text eol=lf
.github/**/*.yaml text eol=lf
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index c17465f..f6f74ad 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -49,7 +49,7 @@ jobs:
cache: true
- name: gofumpt diff
run: |
- go install mvdan.cc/gofumpt@latest
+ go install mvdan.cc/gofumpt@v0.10.0
out=$(gofumpt -l .)
if [ -n "$out" ]; then
echo "::error::gofumpt would reformat the following files:"
@@ -131,12 +131,12 @@ jobs:
cache: true
- name: govulncheck
run: |
- go install golang.org/x/vuln/cmd/govulncheck@latest
+ go install golang.org/x/vuln/cmd/govulncheck@v1.3.0
govulncheck ./...
- name: gosec (advisory)
continue-on-error: true
run: |
- go install github.com/securego/gosec/v2/cmd/gosec@latest
+ go install github.com/securego/gosec/v2/cmd/gosec@v2.27.1
gosec -exclude=G104,G301,G302,G304,G306 ./...
# -------------------------------------------------------------------------
@@ -157,7 +157,7 @@ jobs:
run: rm -f go.work go.work.sum
- name: deadcode
run: |
- go install golang.org/x/tools/cmd/deadcode@latest
+ go install golang.org/x/tools/cmd/deadcode@v0.45.0
deadcode ./... 2>&1 | head -50
# -------------------------------------------------------------------------
diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml
deleted file mode 100644
index 448a0f3..0000000
--- a/.github/workflows/docker.yml
+++ /dev/null
@@ -1,59 +0,0 @@
-name: Docker
-
-on:
- push:
- branches: [main]
- tags: ["v*"]
- pull_request:
- branches: [main]
- paths:
- - "Dockerfile"
- - "**.go"
- - "go.mod"
- - "go.sum"
-
-permissions:
- contents: read
- packages: write
-
-env:
- REGISTRY: ghcr.io
- IMAGE_NAME: graycodeai/hawk-sdk-go
-
-jobs:
- build-and-push:
- runs-on: ubuntu-latest
- steps:
- - uses: actions/checkout@v4
-
- - name: Set up Docker Buildx
- uses: docker/setup-buildx-action@v3
-
- - name: Log in to GHCR
- if: github.event_name != 'pull_request'
- uses: docker/login-action@v3
- with:
- registry: ${{ env.REGISTRY }}
- username: ${{ github.actor }}
- password: ${{ secrets.GITHUB_TOKEN }}
-
- - name: Docker metadata
- id: meta
- uses: docker/metadata-action@v5
- with:
- images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
- tags: |
- type=ref,event=branch
- type=semver,pattern={{version}}
- type=semver,pattern={{major}}.{{minor}}
- type=sha,prefix=sha-
-
- - name: Build and push
- uses: docker/build-push-action@v6
- with:
- context: .
- push: ${{ github.event_name != 'pull_request' }}
- tags: ${{ steps.meta.outputs.tags }}
- labels: ${{ steps.meta.outputs.labels }}
- cache-from: type=gha
- cache-to: type=gha,mode=max
diff --git a/CHANGELOG.md b/CHANGELOG.md
index bd83967..17d312f 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -7,11 +7,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [Unreleased]
+## [0.1.0] — 2026-06-08
+
### Added
-- **`const Version = "0.1.0"`** in `version.go`, exposed as the package-level
- source of truth for the SDK version. Aligns hawk-sdk-go with the rest of
- the hawk-eco ecosystem (`hawk`, `tok`, `eyrie`, `yaad`, `trace`, `sight`,
- `inspect`).
+- **`var Version`** in `version.go`, exposed as the package-level source of
+ truth for the SDK version (read from the `VERSION` file via `go:embed`).
+ Aligns hawk-sdk-go with the rest of the hawk-eco ecosystem (`hawk`, `tok`,
+ `eyrie`, `yaad`, `trace`, `sight`, `inspect`).
- **`User-Agent: hawk-sdk-go/