Skip to content

Commit

Permalink
chore: run tests in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
gremat committed May 16, 2024
1 parent 43bb1be commit 8471c74
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Go
on: [push]

jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
go-version: [ '1.15.x', 'stable' ]
defaults:
run:
working-directory: ./go
steps:
- uses: actions/checkout@v4
- name: Setup Go ${{ matrix.go-version }}
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go-version }}
cache-dependency-path: ./go/go.sum
- name: Display Go version
run: go version
- name: Download dependencies
run: go mod download
- name: Test with Go
run: go test -v -cover ./...

0 comments on commit 8471c74

Please sign in to comment.