Skip to content

Commit

Permalink
ci(workflows): Update workflows for gin middleware addition
Browse files Browse the repository at this point in the history
  • Loading branch information
bartventer committed Jul 8, 2024
1 parent 193e859 commit e8eac1e
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ jobs:
- "postgres"
- "mysql"
- "middleware/echo"
- "middleware/gin"
- "middleware/nethttp"
permissions:
contents: write
Expand Down
16 changes: 16 additions & 0 deletions middleware/gin/.releaserc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"debug": true,
"branches": [
"+([0-9])?(.{+([0-9]),x}).x",
"master",
{
"name": "beta",
"prerelease": true
}
],
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/git"
],
"tagFormat": "middleware/gin/v${version}"
}
1 change: 1 addition & 0 deletions scripts/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ gotestflags=(
["./postgres"]="${gotestflagsbase[@]} -coverpkg=./..."
["./mysql"]="${gotestflagsbase[@]} -coverpkg=./..."
["./middleware/echo"]="${gotestflagsbase[@]}"
["./middleware/gin"]="${gotestflagsbase[@]}"
["./middleware/nethttp"]="${gotestflagsbase[@]}"
)

Expand Down

0 comments on commit e8eac1e

Please sign in to comment.