Skip to content

Commit

Permalink
Merge branch 'main' of github.com:AndreasAugustin/go-gitmoji-cli
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreasAugustin committed Jul 29, 2023
2 parents 3fd211a + cfee00b commit cb43b19
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 1 deletion.
18 changes: 18 additions & 0 deletions .github/workflows/ci_go.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: ci_go

on: [push, pull_request]

jobs:
go:
strategy:
matrix:
go_version: [ '1.20', '1.19' ]
os: [ ubuntu-latest, windows-latest ]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v4
with:
go-version: ${{ matrix.go_version }}
- run: go build -o dist/
- run: go test ./... -cover
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
[Gitmoji][gitmoji] is an emoji guide for GitHub commit messages. Aims to be a standarization cheatsheet - guide for using emojis on GitHub's commit messages.
is a nice way to standardize commit messages with emojis.

There is already a nice [gitmoji-cli](gitmoji-cli) command line interface available.
There is already a nice [gitmoji-cli][gitmoji-cli] command line interface available.
Because I was searching for a nice project to get more into golang this project was created.

## Configuration
Expand Down
1 change: 1 addition & 0 deletions pkg/hooks_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ func TestCreateAllHookFilesCreatesCorrectHooks(t *testing.T) {
}

func TestRemoveAllHookFilesReturnsCorrectError(t *testing.T) {
t.Skip("need to be checked")
var expErr error
assert.Equal(t, expErr, pkg.RemoveAllHookFiles())
}

0 comments on commit cb43b19

Please sign in to comment.