Skip to content

Commit

Permalink
chore: update .gitignore
Browse files Browse the repository at this point in the history
  • Loading branch information
sliveryou committed Feb 14, 2024
1 parent 3b21e29 commit 6da38b9
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 7 deletions.
7 changes: 6 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,16 @@
name: ci
name: CI

on:
push:
branches:
- 'main'
paths:
- 'go.mod'
- '**.go'
- '**.yml'
pull_request:
branches:
- 'main'
paths:
- 'go.mod'
- '**.go'
Expand Down
10 changes: 4 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
name: Release

on:
release:
types: [ created ]

permissions:
contents: write
packages: write
types: [ published, edited ]

jobs:
releases-matrix:
Expand All @@ -26,7 +24,7 @@ jobs:
github_token: ${{ secrets.GITHUB_TOKEN }}
goos: ${{ matrix.goos }}
goarch: ${{ matrix.goarch }}
goversion: "https://dl.google.com/go/go1.16.15.linux-amd64.tar.gz"
goversion: "https://dl.google.com/go/go1.19.13.linux-amd64.tar.gz"
project_path: "."
binary_name: "swag2md"
extra_files: LICENSE README.md
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,7 @@ $RECYCLE.BIN/

### Project ###
testdata/
/swag2md
/swagger.json
/auto-gen-api.md
/policy.csv

0 comments on commit 6da38b9

Please sign in to comment.