Skip to content

Commit

Permalink
chore: README and GitHub actions
Browse files Browse the repository at this point in the history
darccio committed Apr 2, 2023

Unverified

This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
1 parent fb3c082 commit df62a52
Showing 4 changed files with 42 additions and 18 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/openssf.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
name: 'openssf'
on:
push:
branches:
- master
jobs:
scorecard:
runs-on: ubuntu-latest
name: OpenSSF
steps:
- name: OSSF Scorecard action
uses: ossf/[email protected]
12 changes: 0 additions & 12 deletions .github/workflows/stackaid.yml

This file was deleted.

18 changes: 18 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: 'tests'
on:
push:
branches:
- master
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 ./...
18 changes: 12 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,19 @@
# Mergo

[![GoDoc][3]][4]
[![GitHub release][5]][6]
[![GoCard][7]][8]
[![Build Status][1]][2]
[![Coverage Status][9]][10]
[![Test status][1]][2]
[![OpenSSF Scorecard][21]][22]
[![OpenSSF Best Practices][19]][20]
[![Coverage status][9]][10]
[![Sourcegraph][11]][12]
[![FOSSA Status][13]][14]
[![FOSSA status][13]][14]

[![GoDoc][3]][4]
[![Become my sponsor][15]][16]
[![Tidelift][17]][18]

[1]: https://travis-ci.org/imdario/mergo.png
[1]: https://github.com/imdario/mergo/workflows/tests/badge.svg?branch=master
[2]: https://travis-ci.org/imdario/mergo
[3]: https://godoc.org/github.com/imdario/mergo?status.svg
[4]: https://godoc.org/github.com/imdario/mergo
@@ -28,6 +31,10 @@
[16]: https://github.com/sponsors/imdario
[17]: https://tidelift.com/badges/package/go/github.com%2Fimdario%2Fmergo
[18]: https://tidelift.com/subscription/pkg/go-github.aaakk.us.kg-imdario-mergo
[19]: https://bestpractices.coreinfrastructure.org/projects/7177/badge
[20]: https://bestpractices.coreinfrastructure.org/projects/7177
[21]: https://api.securityscorecards.dev/projects/github.com/imdario/mergo/badge
[22]: https://api.securityscorecards.dev/projects/github.com/imdario/mergo

A helper to merge structs and maps in Golang. Useful for configuration default values, avoiding messy if-statements.

@@ -232,5 +239,4 @@ Written by [Dario Castañé](http://dario.im).

[BSD 3-Clause](http://opensource.org/licenses/BSD-3-Clause) license, as [Go language](http://golang.org/LICENSE).


[![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2Fimdario%2Fmergo.svg?type=large)](https://app.fossa.io/projects/git%2Bgithub.com%2Fimdario%2Fmergo?ref=badge_large)

0 comments on commit df62a52

Please sign in to comment.