From e41c881d8a469556e417d995c4bf37fc58f1c99d Mon Sep 17 00:00:00 2001 From: phillip-stephens Date: Wed, 1 Oct 2025 16:29:56 -0700 Subject: [PATCH] removed travis and added github actions CI --- .github/workflows/ci.yml | 25 +++++++++++++++++++++++++ .travis.yml | 7 ------- 2 files changed, 25 insertions(+), 7 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..821bf3d --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,25 @@ +name: CI +on: + push: + branches: + - master + pull_request: + types: [opened, ready_for_review, synchronize] + workflow_dispatch: + +jobs: + build-and-test: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v4 + - name: Setup Go + uses: actions/setup-go@v5 + with: + go-version: "1.24" + - name: Build + run: | + go version + go get ./... + - name: Unit Tests + run: go test -v ./... \ No newline at end of file diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index fc5d703..0000000 --- a/.travis.yml +++ /dev/null @@ -1,7 +0,0 @@ -language: go -go: - - 1.13 -install: - - go get ./... -script: - - go test -v ./...