Skip to content

Commit

Permalink
another build
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreasChristianson committed Oct 18, 2023
1 parent e67678d commit dbd8b09
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 2 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/main-build.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: main-build
on:
push:
branches:
- main

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- name: Setup
uses: actions/setup-go@v4
with:
go-version: '1.21.x'
- name: Install dependencies
run: go get .
- name: Build
run: go build -v ./...
- name: Test
run: |
go test -v ./... -covermode=count -coverprofile=coverage.out
go tool cover -func=coverage.out -o=coverage.out
4 changes: 2 additions & 2 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
Simple source/sink abstraction around generator functions, channels, mapping, and observing.

### CI
[![Go](https://github.com/AndreasChristianson/gopher-pipes/actions/workflows/test.yaml/badge.svg?branch=main&event=push)](https://github.com/AndreasChristianson/gopher-pipes/actions/workflows/test.yaml)

[![coverage badge](https://github.com/AndreasChristianson/gopher-pipes/actions/workflows/coverage-badge.yaml/badge.svg)](https://github.com/AndreasChristianson/gopher-pipes/actions/workflows/coverage-badge.yaml)
![coverage](https://raw.githubusercontent.com/AndreasChristianson/gopher-pipes/badges/.badges/main/coverage.svg)

todo:

Expand Down

0 comments on commit dbd8b09

Please sign in to comment.