Skip to content

Commit

Permalink
Support github actions CI (#56)
Browse files Browse the repository at this point in the history
  • Loading branch information
kyokomi committed Dec 7, 2022
1 parent 0a30350 commit 52125ab
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 34 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/go.yml
@@ -0,0 +1,22 @@
name: go

on: [push, pull_request]

jobs:
build_and_test:
timeout-minutes: 15
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
- run: go version
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
with:
version: latest
- run: go test -v -coverprofile=profile.cov ./...
- uses: shogo82148/actions-goveralls@v1
with:
path-to-profile: profile.cov


2 changes: 1 addition & 1 deletion README.md
@@ -1,7 +1,7 @@
# Emoji
Emoji is a simple golang package.

[![wercker status](https://app.wercker.com/status/7bef60de2c6d3e0e6c13d56b2393c5d8/s/master "wercker status")](https://app.wercker.com/project/byKey/7bef60de2c6d3e0e6c13d56b2393c5d8)
![master workflow](https://github.com/kyokomi/emoji/actions/workflows/go.yml/badge.svg)
[![Coverage Status](https://coveralls.io/repos/kyokomi/emoji/badge.png?branch=master)](https://coveralls.io/r/kyokomi/emoji?branch=master)
[![GoDoc](https://pkg.go.dev/badge/github.com/kyokomi/emoji.svg)](https://pkg.go.dev/github.com/kyokomi/emoji/v2)

Expand Down
33 changes: 0 additions & 33 deletions wercker.yml

This file was deleted.

0 comments on commit 52125ab

Please sign in to comment.