From 59221ed6427fb8d7289955289542a9c902fd0cd5 Mon Sep 17 00:00:00 2001 From: Jonathan Rudenberg Date: Tue, 20 Apr 2021 16:47:47 -0400 Subject: [PATCH] Add GitHub Actions config --- .github/workflows/ci.yml | 22 ++++++++++++++++++++++ .travis.yml | 10 ---------- 2 files changed, 22 insertions(+), 10 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..02f7d58 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,22 @@ +on: [push, pull_request] +name: CI +jobs: + test: + runs-on: ubuntu-latest + steps: + - name: Install Go + uses: actions/setup-go@v2 + with: + go-version: 1.16.x + - name: Checkout code + uses: actions/checkout@v2 + - name: Test + run: go test ./... + lint: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - name: golangci-lint + uses: golangci/golangci-lint-action@v2 + with: + version: latest diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 0c69fa4..0000000 --- a/.travis.yml +++ /dev/null @@ -1,10 +0,0 @@ -language: go -go: - - 1.6.2 - - tip - -sudo: false - -matrix: - allow_failures: - - go: tip