Skip to content

Commit

Permalink
Correct CI File changes
Browse files Browse the repository at this point in the history
Signed-off-by: Yogesh Deshpande <[email protected]>
  • Loading branch information
yogeshbdeshpande committed May 2, 2024
1 parent b9ee32a commit ec6004f
Showing 1 changed file with 12 additions and 6 deletions.
18 changes: 12 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,22 @@
name: ci
on: [push, pull_request]
jobs:

# Test on various OS with specified Go version.
tests:
name: Test on ubuntu-latest
runs-on: ubuntu-latest
env:
GO111MODULE: on
name: Test on ${{matrix.os}}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [macos-latest, ubuntu-latest]
steps:
- uses: actions/setup-go@v3
with:
go-version: "1.18"
- name: Checkout code
uses: actions/checkout@v2
with:
go-version: "1.19"
fetch-depth: 1
- name: Install mockgen
run: |
go install github.com/golang/mock/[email protected]
Expand All @@ -21,4 +27,4 @@ jobs:
- name: Run tests
run: |
go version
make test
make test

0 comments on commit ec6004f

Please sign in to comment.