Skip to content
This repository has been archived by the owner on Nov 22, 2020. It is now read-only.

Commit

Permalink
first try
Browse files Browse the repository at this point in the history
  • Loading branch information
jandelgado committed Sep 27, 2019
1 parent 7c6dbb2 commit 0740372
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 17 deletions.
17 changes: 0 additions & 17 deletions .github/workflows/blank.yml

This file was deleted.

25 changes: 25 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
on: [push, pull_request]
name: golang ci template github actions
jobs:
test:
strategy:
matrix:
go-version: [1.12.x, 1.13.x]
platform: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.platform }}
steps:
- name: Install Go
uses: actions/setup-go@v1
with:
go-version: ${{ matrix.go-version }}
- name: Checkout code
uses: actions/checkout@v1
- name: Install tools
run: |
go get -u github.com/mattn/goveralls
go get -u github.com/golangci/golangci-lint/cmd/golangci-lint
- name: Linter
run: ./pre-commit
- name: Test
run: go test -v -covermode=count -coverprofile=coverage.out

0 comments on commit 0740372

Please sign in to comment.