.github: Migrate from Travis to GitHub actions (#121)
diff --git a/.travis.yml b/.github/workflows/github-actions.yml similarity index 63% rename from .travis.yml rename to .github/workflows/github-actions.yml index 01cd504..58afb03 100644 --- a/.travis.yml +++ b/.github/workflows/github-actions.yml
@@ -15,13 +15,27 @@ # specific language governing permissions and limitations # under the License. -sudo: false -language: go -go: - - 1.14.x +name: Github-Actions -script: - - make all +on: [push, pull_request] -env: - - GO111MODULE=on +concurrency: + group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} + cancel-in-progress: true + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + + - name: Set up Go + uses: actions/setup-go@v3 + with: + go-version: 1.19.x + + - name: Run Script + run: make all + + env: + GO111MODULE: on