From 7895c8cbbd6e6e380fc238d24e439f3586057431 Mon Sep 17 00:00:00 2001 From: "ajith.nataraj" Date: Mon, 16 Oct 2023 10:24:32 +0530 Subject: [PATCH 1/7] added new ci workflow --- .github/workflows/ci.yml | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 00000000..5388ec45 --- /dev/null +++ b/.github/workflows/ci.yml @@ -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) \ No newline at end of file From 98084d1f492c603627e44d179957c00f337f8f63 Mon Sep 17 00:00:00 2001 From: "ajith.nataraj" Date: Mon, 16 Oct 2023 10:27:42 +0530 Subject: [PATCH 2/7] added new ci workflow --- .github/workflows/ci.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5388ec45..12f04ff0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,7 +15,9 @@ concurrency: jobs: build: runs-on: - group: cs-ci-runners + group: ubuntu-latest + + strategy: matrix: From 5ec99fd2a558d72a0a309ba1752405c1f0202000 Mon Sep 17 00:00:00 2001 From: "ajith.nataraj" Date: Mon, 16 Oct 2023 10:28:33 +0530 Subject: [PATCH 3/7] added new ci workflow --- .github/workflows/ci.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 12f04ff0..237f72c4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,8 +15,7 @@ concurrency: jobs: build: runs-on: - group: ubuntu-latest - + ubuntu-latest strategy: From 5fc62cf80cd1035328702a177b5dd148692b00f1 Mon Sep 17 00:00:00 2001 From: "ajith.nataraj" Date: Mon, 16 Oct 2023 10:29:43 +0530 Subject: [PATCH 4/7] added new ci workflow --- .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 237f72c4..cc7d0243 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -20,7 +20,7 @@ jobs: strategy: matrix: - go: ["1.17.x", "1.18.x", "master"] + go: ["1.17", "1.18", "master"] steps: - uses: actions/checkout@v3 From fe1d540a5dffcb61829ef4d00ad351e2122eb0a4 Mon Sep 17 00:00:00 2001 From: "ajith.nataraj" Date: Mon, 16 Oct 2023 10:32:28 +0530 Subject: [PATCH 5/7] added new ci workflow --- .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 cc7d0243..20ee0929 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -20,7 +20,7 @@ jobs: strategy: matrix: - go: ["1.17", "1.18", "master"] + go: ["1.17", "1.18", "stable"] steps: - uses: actions/checkout@v3 From 1e05c8a51965bc3d161c07e80772bef82720464b Mon Sep 17 00:00:00 2001 From: "ajith.nataraj" Date: Mon, 16 Oct 2023 10:34:48 +0530 Subject: [PATCH 6/7] added new ci workflow --- .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 20ee0929..04f1dde3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -20,7 +20,7 @@ jobs: strategy: matrix: - go: ["1.17", "1.18", "stable"] + go: ["1.17.x", "1.18.x", "stable"] steps: - uses: actions/checkout@v3 From b958969562201ca09456801790f0d2f0cd84f7f1 Mon Sep 17 00:00:00 2001 From: "ajith.nataraj" Date: Mon, 16 Oct 2023 14:43:12 +0530 Subject: [PATCH 7/7] remove travis file --- .travis.yml | 20 -------------------- 1 file changed, 20 deletions(-) delete mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index f7121dc2..00000000 --- a/.travis.yml +++ /dev/null @@ -1,20 +0,0 @@ -language: go -sudo: false - -go: - - "1.17.x" - - "1.18.x" - - master - -install: true - -script: - - go get -u golang.org/x/lint/golint - - make ci - -matrix: - allow_failures: - - go: master - -after_success: - - bash <(curl -s https://codecov.io/bash)