From 4566b8fc342d858a34b9a7859b2197ef849a11ea Mon Sep 17 00:00:00 2001 From: Mark Newman Date: Tue, 10 May 2022 13:01:24 +0100 Subject: [PATCH 1/2] Migrate CI to GitHub Actions --- .github/workflows/ci.yml | 18 ++++++++++++++++++ .travis.yml | 8 -------- 2 files changed, 18 insertions(+), 8 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..f9e3b60 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,18 @@ +name: CI + +on: [push, workflow_dispatch] + +jobs: + test: + runs-on: ubuntu-latest + + container: + image: golang + + steps: + - uses: actions/checkout@v2 + + - name: Test + run: | + make deps + go test ./... diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 17952b0..0000000 --- a/.travis.yml +++ /dev/null @@ -1,8 +0,0 @@ -language: go - -go: - - "1.14" - - master - -before_script: - - make deps From bfef7169a4b92888a509eac1eceda3718907c70d Mon Sep 17 00:00:00 2001 From: Mark Newman Date: Tue, 10 May 2022 13:53:52 +0100 Subject: [PATCH 2/2] Migrate CI to GitHub Actions --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f9e3b60..b9b9965 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -3,7 +3,7 @@ name: CI on: [push, workflow_dispatch] jobs: - test: + Test: runs-on: ubuntu-latest container: