Skip to content

Commit

Permalink
added tests and badges
Browse files Browse the repository at this point in the history
  • Loading branch information
malivvan committed Jul 14, 2024
1 parent 53f688a commit 4034269
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 1 deletion.
22 changes: 22 additions & 0 deletions .github/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Test

on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]

jobs:

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

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

- name: Test
run: go test -v ./...
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# UUID
# uuid [![Go Reference](https://pkg.go.dev/badge/github.com/malivvan/uuid.svg)](https://pkg.go.dev/github.com/malivvan/uuid) [![Release](https://img.shields.io/github/v/release/malivvan/uuid.svg?sort=semver)](https://github.com/malivvan/uuid/releases/latest) ![Tests](https://img.shields.io/github/actions/workflow/status/malivvan/uuid/test.yml?label=tests) [![Go Report Card](https://goreportcard.com/badge/github.com/malivvan/uuid)](https://goreportcard.com/report/github.com/malivvan/uuid) [![License](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE)
an alternative to the `github.com/google/uuid` package

## Installation
Expand Down

0 comments on commit 4034269

Please sign in to comment.