Skip to content

Commit

Permalink
Add github action (#1)
Browse files Browse the repository at this point in the history
  • Loading branch information
abihf authored Apr 17, 2020
1 parent b222d1b commit 6def1cb
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Go

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:

build:
name: Build
runs-on: ubuntu-latest
steps:

- name: Set up Go 1.13
uses: actions/setup-go@v1
with:
go-version: 1.13
id: go

- name: Check out code into the Go module directory
uses: actions/checkout@v2

- name: Test
run: go test -v -race -coverprofile=coverage.txt -covermode=atomic

- name: Codecov
uses: codecov/codecov-action@v1.0.6
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
# cache-loader
![GitHub tag (latest SemVer)](https://img.shields.io/github/v/tag/abihf/cache-loader?label=version)
[![go.dev reference](https://img.shields.io/badge/go.dev-reference-007d9c?logo=go&logoColor=white)](https://pkg.go.dev/github.com/abihf/cache-loader)
![Go](https://github.com/abihf/cache-loader/workflows/Go/badge.svg)
[![codecov](https://codecov.io/gh/abihf/cache-loader/branch/master/graph/badge.svg)](https://codecov.io/gh/abihf/cache-loader)

Golang Cache Loader

## Feature
Expand Down

0 comments on commit 6def1cb

Please sign in to comment.