-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #35 from wklken/fix_221218
Fix 221218
- Loading branch information
Showing
8 changed files
with
149 additions
and
4 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,35 @@ | ||
name: goreleaser | ||
|
||
on: | ||
push: | ||
# run only against tags | ||
tags: | ||
- 'v*' | ||
|
||
permissions: | ||
contents: write | ||
# packages: write | ||
# issues: write | ||
|
||
jobs: | ||
goreleaser: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 0 | ||
- run: git fetch --force --tags | ||
- uses: actions/setup-go@v3 | ||
with: | ||
go-version: '>=1.19.4' | ||
cache: true | ||
# More assembly might be required: Docker logins, GPG, etc. It all depends | ||
# on your needs. | ||
- uses: goreleaser/goreleaser-action@v4 | ||
with: | ||
# either 'goreleaser' (default) or 'goreleaser-pro': | ||
distribution: goreleaser | ||
version: latest | ||
args: release --rm-dist | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
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
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 |
---|---|---|
|
@@ -3,7 +3,7 @@ layout: default | |
title: Usage | ||
has_children: true | ||
permalink: /usage/ | ||
nav_order: 4 | ||
nav_order: 5 | ||
|
||
--- | ||
|
||
|
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,7 +1,7 @@ | ||
--- | ||
layout: page | ||
title: About | ||
nav_order: 6 | ||
nav_order: 7 | ||
permalink: /about/ | ||
--- | ||
|
||
|
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,7 +1,7 @@ | ||
--- | ||
layout: page | ||
title: CHANGELOG | ||
nav_order: 5 | ||
nav_order: 6 | ||
permalink: /changelog/ | ||
--- | ||
|
||
|
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,10 @@ | ||
--- | ||
layout: page | ||
title: Installation | ||
nav_order: 4 | ||
permalink: /installation/ | ||
--- | ||
|
||
# Installation | ||
|
||
TODO |
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,46 @@ | ||
request: | ||
method: get | ||
url: 'http://httpbin.org/get' | ||
header: | ||
hello: world | ||
assert: | ||
status: ok | ||
status_in: | ||
- ok | ||
status_not_in: | ||
- not found | ||
statusCode: 200 | ||
statusCode_in: | ||
- 400 | ||
- 500 | ||
statusCode_not_in: | ||
- 200 | ||
- 400 | ||
statusCode_lt: 100 | ||
statusCode_lte: 100 | ||
statusCode_gt: 500 | ||
statusCode_gte: 500 | ||
contentLength: 18 | ||
contentLength_lt: 1 | ||
contentLength_lte: 1 | ||
contentLength_gt: 180 | ||
contentLength_gte: 180 | ||
contentType: abc | ||
contentType_in: | ||
- application/json | ||
contentType_not_in: | ||
- application/json | ||
body: HTTPBIN is awesome | ||
body_contains: awesome2 | ||
body_not_contains: awesome | ||
body_startswith: A | ||
body_endswith: a | ||
body_not_startswith: '{' | ||
body_not_endswith: '}' | ||
latency_lt: 0 | ||
latency_lte: 0 | ||
latency_gt: 100 | ||
latency_gte: 100 | ||
proto: "HTTP/2.0" | ||
protoMajor: 2 | ||
protoMinor: 0 |
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