Skip to content

Commit

Permalink
added new ci workflow (#218)
Browse files Browse the repository at this point in the history
* added new ci workflow

* added new ci workflow

* added new ci workflow

* added new ci workflow

* added new ci workflow

* added new ci workflow

* remove travis file
  • Loading branch information
ajith-nataraj authored Oct 18, 2023
1 parent fe74c94 commit 7ff4208
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 20 deletions.
40 changes: 40 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: CI Checks

on:
push:
branches:
- "master"
pull_request:
branches:
- "master"

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
build:
runs-on:
ubuntu-latest


strategy:
matrix:
go: ["1.17.x", "1.18.x", "stable"]

steps:
- uses: actions/checkout@v3

- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: ${{ matrix.go }}

- name: Install dependencies
run: go mod download

- name: Build and test
run: make ci

- name: Upload code coverage
run: bash <(curl -s https://codecov.io/bash)
20 changes: 0 additions & 20 deletions .travis.yml

This file was deleted.

0 comments on commit 7ff4208

Please sign in to comment.