Skip to content

Commit

Permalink
Move to github actions (#14)
Browse files Browse the repository at this point in the history
  • Loading branch information
onatm authored Oct 2, 2024
1 parent b9861f7 commit 5ec82da
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 13 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Build

on:
workflow_dispatch:
pull_request:
push:
branches:
- main

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Go 1.21.x
uses: actions/setup-go@v5
with:
go-version: 1.21.x
- name: Install goveralls
run: go install github.com/mattn/goveralls@b031368
- name: Build
run: go build
- name: Test
run: go test -v -covermode=count -coverprofile=coverage.out
- name: Send coverage
env:
COVERALLS_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: goveralls -coverprofile=coverage.out -service=github
12 changes: 0 additions & 12 deletions .travis.yml

This file was deleted.

4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# clockwerk

[![Build Status](https://travis-ci.org/onatm/clockwerk.svg?branch=master)](https://travis-ci.org/onatm/clockwerk)   [![Coverage Status](https://coveralls.io/repos/github/onatm/clockwerk/badge.svg?branch=master)](https://coveralls.io/github/onatm/clockwerk?branch=master)   [![Go Report Card](https://goreportcard.com/badge/github.com/onatm/clockwerk)](https://goreportcard.com/report/github.com/onatm/clockwerk)   [![GoDoc](http://godoc.org/github.com/onatm/clockwerk?status.png)](http://godoc.org/github.com/onatm/clockwerk)
[![Coverage Status](https://coveralls.io/repos/github/onatm/clockwerk/badge.svg?branch=master)](https://coveralls.io/github/onatm/clockwerk?branch=master)
[![Go Report Card](https://goreportcard.com/badge/github.com/onatm/clockwerk)](https://goreportcard.com/report/github.com/onatm/clockwerk)
[![GoDoc](http://godoc.org/github.com/onatm/clockwerk?status.png)](http://godoc.org/github.com/onatm/clockwerk)

Job Scheduling Library

Expand Down

0 comments on commit 5ec82da

Please sign in to comment.