-
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
895 additions
and
213 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# These are supported funding model platforms | ||
|
||
github: markbates | ||
patreon: buffalo |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
name: Tests | ||
on: [push] | ||
jobs: | ||
|
||
tests-on: | ||
name: ${{matrix.go-version}} ${{matrix.os}} | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
matrix: | ||
go-version: [1.12.x, 1.13.x] | ||
os: [macos-latest, windows-latest, ubuntu-latest] | ||
steps: | ||
- name: Checkout Code | ||
uses: actions/checkout@v1 | ||
with: | ||
fetch-depth: 1 | ||
- name: Test | ||
run: | | ||
go mod tidy -v | ||
go test -race ./... | ||
This file was deleted.
Oops, something went wrong.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,46 +1,2 @@ | ||
TAGS ?= "sqlite" | ||
GO_BIN ?= go | ||
|
||
install: | ||
packr | ||
$(GO_BIN) install -v . | ||
|
||
deps: | ||
$(GO_BIN) get github.com/gobuffalo/release | ||
$(GO_BIN) get github.com/gobuffalo/packr/packr | ||
$(GO_BIN) get -tags ${TAGS} -t ./... | ||
ifeq ($(GO111MODULE),on) | ||
$(GO_BIN) mod tidy | ||
endif | ||
|
||
build: | ||
packr | ||
$(GO_BIN) build -v . | ||
|
||
test: | ||
packr | ||
$(GO_BIN) test -tags ${TAGS} ./... | ||
|
||
ci-test: | ||
$(GO_BIN) test -tags ${TAGS} -race ./... | ||
|
||
lint: | ||
gometalinter --vendor ./... --deadline=1m --skip=internal | ||
|
||
update: | ||
$(GO_BIN) get -u -tags ${TAGS} | ||
ifeq ($(GO111MODULE),on) | ||
$(GO_BIN) mod tidy | ||
endif | ||
packr | ||
make test | ||
make install | ||
ifeq ($(GO111MODULE),on) | ||
$(GO_BIN) mod tidy | ||
endif | ||
|
||
release-test: | ||
$(GO_BIN) test -tags ${TAGS} -race ./... | ||
|
||
release: | ||
release -y -f version.go | ||
go test -cover ./... |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,10 @@ | ||
module github.com/gobuffalo/mw-basicauth | ||
|
||
go 1.13 | ||
|
||
require ( | ||
github.com/gobuffalo/buffalo v0.13.2 | ||
github.com/gobuffalo/httptest v1.0.2 | ||
github.com/pkg/errors v0.8.0 | ||
github.com/stretchr/testify v1.2.2 | ||
github.com/gobuffalo/buffalo v0.15.4 | ||
github.com/gobuffalo/httptest v1.4.0 | ||
github.com/pkg/errors v0.9.1 | ||
github.com/stretchr/testify v1.4.0 | ||
) |