ci: retire the dead .github lane, fold its gate into hanzo.yml

.hanzo/workflows already exists, and the forge resolves the first workflow
directory that exists rather than the union — so these three have run nothing
here since it landed. Removing them makes that visible in the tree.

The sanity check's real content is now in hanzo.yml: `go vet` and the race
detector join the build and test that were already there. Lost with it:
golangci-lint and the Codecov upload, which reports to a SaaS bound to GitHub.

close-inactive-issues.yml drops as GitHub issue automation. integration-tests.yml
drops because it drives the live OpenAI API and no key is declared on this repo
or the hanzoai org, so it could only ever have failed; API-contract coverage is
lost until one exists.
This commit is contained in:
2026-08-13 21:12:10 -07:00
parent c8ca2910d4
commit ce1d2c7960
4 changed files with 8 additions and 72 deletions
@@ -1,23 +0,0 @@
name: Close inactive issues
on:
schedule:
- cron: "30 1 * * *"
jobs:
close-issues:
runs-on: ubuntu-latest
permissions:
issues: write
pull-requests: write
steps:
- uses: actions/stale@v9
with:
days-before-issue-stale: 30
days-before-issue-close: 14
stale-issue-label: "stale"
exempt-issue-labels: 'bug,enhancement'
stale-issue-message: "This issue is stale because it has been open for 30 days with no activity."
close-issue-message: "This issue was closed because it has been inactive for 14 days since being marked as stale."
days-before-pr-stale: -1
days-before-pr-close: -1
repo-token: ${{ secrets.GITHUB_TOKEN }}
-21
View File
@@ -1,21 +0,0 @@
name: Integration tests
on:
push:
branches:
- master
jobs:
integration_tests:
name: Run integration tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: '1.21'
- name: Run integration tests
env:
OPENAI_TOKEN: ${{ secrets.OPENAI_TOKEN }}
run: go test -v -tags=integration ./api_integration_test.go
-27
View File
@@ -1,27 +0,0 @@
name: Sanity check
on:
- push
- pull_request
jobs:
prcheck:
name: Sanity check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: '1.24'
- name: Run vet
run: |
go vet .
- name: Run golangci-lint
uses: golangci/golangci-lint-action@v6
with:
version: v1.64.5
- name: Run tests
run: go test -race -covermode=atomic -coverprofile=coverage.out -v .
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v4
+8 -1
View File
@@ -1,3 +1,10 @@
# The race detector and `go vet` come from the sanity check this replaces; the
# integration suite it sat beside drives the live OpenAI API and has no key
# declared here, so it belongs to a harness, not a push gate.
test:
- name: build
run: go build ./... && go test ./...
run: |
set -euo pipefail
go build ./...
go vet ./...
go test -race ./...