Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Build and Test

on:
pull_request:

jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
go: [ '1.11', '1.12', '1.13' ]
name: Go Version ${{ matrix.go }}
steps:
- uses: actions/checkout@v4
- name: Setup go
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go }}
- run: go install .
- run: go test ./...
9 changes: 0 additions & 9 deletions .travis.yml

This file was deleted.

1 change: 1 addition & 0 deletions embedmd/command_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@ func eqPtr(a, b *string) bool {
}

func eqErr(t *testing.T, id string, err error, msg string) bool {
t.Helper()
if err == nil && msg == "" {
return true
}
Expand Down
2 changes: 2 additions & 0 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
module github.com/campoy/embedmd

go 1.11

require github.com/pmezard/go-difflib v1.0.0