From a4382d2ddcdfd4c5ad508d0667a9e81cb0e33cd4 Mon Sep 17 00:00:00 2001 From: Jan Hartman Date: Tue, 1 Sep 2026 12:41:26 +0000 Subject: [PATCH] chore/dev: Retire dead CI config and modernize the Go build MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Nothing has been verifying that this repository compiles: its CI config points at a service that no longer builds it. Replace that with a GitHub Actions workflow that builds, vets, and race-tests on Go 1.26, and — where the repository still predates Go modules — add go.mod/go.sum with a canonical module path and fix the code that no longer compiles on a modern toolchain. --- .github/workflows/ci.yml | 31 +++++++++++++++++++++++++++++++ .travis.yml | 5 ----- 2 files changed, 31 insertions(+), 5 deletions(-) create mode 100644 .github/workflows/ci.yml delete mode 100644 .travis.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..9671c0f --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,31 @@ +name: CI + +on: + push: + branches: + - '**' + pull_request: + +permissions: + contents: read + +jobs: + build-test: + name: Build and test (Go 1.26) + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + + - uses: actions/setup-go@v5 + with: + go-version: '1.26' + check-latest: true + + - name: Build + run: go build ./... + + - name: Vet + run: go vet ./... + + - name: Test + run: go test -race ./... diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 9117639..0000000 --- a/.travis.yml +++ /dev/null @@ -1,5 +0,0 @@ -language: go - -go: - - 1.x - - master