Skip to content

Commit

Permalink
added new ci workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
ajith-nataraj committed Oct 16, 2023
1 parent fe74c94 commit 7895c8c
Showing 1 changed file with 39 additions and 0 deletions.
39 changes: 39 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
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:
group: cs-ci-runners

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

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)

0 comments on commit 7895c8c

Please sign in to comment.