Skip to content

Commit

Permalink
feat: add golangcilint check
Browse files Browse the repository at this point in the history
  • Loading branch information
kuchune committed Jun 5, 2024
1 parent d149d85 commit 1db0303
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/call-debian-check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: debianCheck
on: pull_request
# pull_request:
# paths-ignore:
# - ".github/workflows/**"
permissions:
pull-requests: write
contents: read
checks: read


jobs:
debian-check:
uses: kuchune/.github/.github/workflows/debian-check.yml@master
secrets:
access_token: ${{ secrets.GITHUB_TOKEN }}
with:
job_name: ${{ github.job }}
repository: ${{ github.repository }}
exclude_files: "js,vue,ts,less,html,go,css,json,txt,doc,jpg,png,svg,py,yml,md"
16 changes: 16 additions & 0 deletions .github/workflows/call-static-check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: staticCheck
on: pull_request

permissions:
contents: read
pull-requests: read
checks: write

jobs:
static-check:
uses: kuchune/.github/.github/workflows/static-check.yml@master
secrets:
access_token: ${{ secrets.GITHUB_TOKEN }}
with:
repository: ${{ github.repository }}

0 comments on commit 1db0303

Please sign in to comment.