Skip to content

Commit

Permalink
Make GitHub actions green
Browse files Browse the repository at this point in the history
  • Loading branch information
bep committed Jul 3, 2024
1 parent 873d77e commit 024a706
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ jobs:
shell: bash
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Fmt
if: matrix.platform != 'windows-latest' # :(
run: "diff <(gofmt -d .) <(printf '')"
Expand Down
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
[![GoDoc](https://godoc.org/github.com/bep/gitmap?status.svg)](https://godoc.org/github.com/bep/gitmap)
[![Build Status](https://travis-ci.org/bep/gitmap.svg)](https://travis-ci.org/bep/gitmap) [![Build status](https://ci.appveyor.com/api/projects/status/c8tu1wdoa4j7q81g?svg=true)](https://ci.appveyor.com/project/bjornerik/gitmap)
[![Go Report Card](https://goreportcard.com/badge/github.com/bep/gitmap)](https://goreportcard.com/report/github.com/bep/gitmap)
[![codecov](https://codecov.io/gh/bep/gitmap/branch/master/graph/badge.svg)](https://codecov.io/gh/bep/gitmap)

A fairly fast way to create a map from all the filenames to info objects for a given revision of a Git repo.

Expand Down
2 changes: 1 addition & 1 deletion gitmap_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ func TestTopLevelAbsPath(t *testing.T) {
t.Fatal(err)
}

expected := "/bep/gitmap"
expected := "/gitmap"

if !strings.HasSuffix(gr.TopLevelAbsPath, expected) {
t.Fatalf("Expected to end with %q got %q", expected, gr.TopLevelAbsPath)
Expand Down
Empty file added go.sum
Empty file.

0 comments on commit 024a706

Please sign in to comment.