Skip to content

Commit

Permalink
Switch to Github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
corny committed Sep 26, 2023
1 parent f9e0fd7 commit ed379ff
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 20 deletions.
19 changes: 0 additions & 19 deletions .circleci/config.yml

This file was deleted.

28 changes: 28 additions & 0 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# This workflow will build a golang project
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-go

name: Go

on: [push]

jobs:

build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.20'

- name: Build
run: go build -v ./...

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

- uses: codecov/codecov-action@v2
with:
file: coverage.out
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
go-dhclient
===========

[![CircleCI](https://circleci.com/gh/digineo/go-dhclient/tree/master.svg?style=shield)](https://circleci.com/gh/digineo/go-dhclient/tree/master)
[![Build](https://github.com/digineo/go-dhclient/actions/workflows/go.yml/badge.svg)](https://github.com/digineo/go-dhclient/actions/workflows/go.yml)
[![Codecov](http://codecov.io/github/digineo/go-dhclient/coverage.svg?branch=master)](http://codecov.io/github/digineo/go-dhclient?branch=master)
[![Go Report Card](https://goreportcard.com/badge/github.com/digineo/go-dhclient)](https://goreportcard.com/report/github.com/digineo/go-dhclient)

Expand Down

0 comments on commit ed379ff

Please sign in to comment.