Skip to content

Commit 792e65c

Browse files
committed
Try out github actions
1 parent a67a674 commit 792e65c

2 files changed

Lines changed: 20 additions & 1 deletion

File tree

.github/workflows/test.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
on: [push, pull_request]
2+
name: test
3+
jobs:
4+
test:
5+
strategy:
6+
matrix:
7+
go-version: [1.13.x, 1.14.x]
8+
os: [ubuntu-latest, macos-latest]
9+
runs-on: ${{ matrix.os }}
10+
steps:
11+
- name: Install Go
12+
uses: actions/setup-go@v2
13+
with:
14+
go-version: ${{ matrix.go-version }}
15+
- name: Checkout code
16+
uses: actions/checkout@v2
17+
- name: Test
18+
run: go test -v -cover ./...

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
# sqlcache
22

3-
[![Go.Dev reference](https://img.shields.io/badge/go.dev-reference-blue?logo=go&logoColor=white)](https://pkg.go.dev/prashanthpai/sqlcache?tab=doc)
3+
[![Go.Dev reference](https://img.shields.io/badge/go.dev-reference-blue?logo=go)](https://pkg.go.dev/prashanthpai/sqlcache?tab=doc)
44
[![Go Report Card](https://goreportcard.com/badge/github.com/prashanthpai/sqlcache)](https://goreportcard.com/report/github.com/prashanthpai/sqlcache)
5+
[![Test status](https://github.com/prashanthpai/sqlcache/workflows/test/badge.svg?branch=master "test status")](https://github.com/prashanthpai/sqlcache/actions)
56
[![MIT license](https://img.shields.io/badge/license-MIT-brightgreen.svg)](https://opensource.org/licenses/MIT)
67

78
sqlcache is an **experimental** caching middleware for `database/sql`. It

0 commit comments

Comments
 (0)