Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Develop #2283

Closed
wants to merge 2 commits into from
Closed

Develop #2283

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 19 additions & 2 deletions .github/workflows/call-api-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,22 @@ concurrency:

jobs:
api-check:
uses: linuxdeepin/.github/.github/workflows/api-check.yml@master
secrets: inherit
runs-on: ubuntu-latest
steps:
- continue-on-error: true
uses: reviews-team-test/ci-check-action@api-check
- if: always() && hashFiles('comment.txt')
continue-on-error: true
uses: reviews-team-test/ci-check-action@post-check
with:
comment-file: comment.txt
reviewers: ckux
- if: always()
continue-on-error: true
uses: reviews-team-test/ci-check-action@send-data
with:
testtype: "apiCheck"
status: ${{ hashFiles('comment.txt') && '否' || '是' }}
result: ${{ hashFiles('comment.txt') && '1' || '0' }}
- if: always() && hashFiles('comment.txt')
run: exit 1
37 changes: 35 additions & 2 deletions .github/workflows/call-debian-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,44 @@ on:
pull_request_target:
types: [opened, synchronize, reopened]

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

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
debian-check:
uses: linuxdeepin/.github/.github/workflows/debian-check.yml@master
secrets: inherit
runs-on: ubuntu-latest
steps:
- continue-on-error: true
uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha }}
- if: always()
continue-on-error: true
uses: reviews-team-test/ci-check-action@debian-prefix-check
- if: always()
continue-on-error: true
uses: reviews-team-test/ci-check-action@debian-version-check
- if: always()
continue-on-error: true
uses: reviews-team-test/ci-check-action@debian-keys-check
- if: always() && hashFiles('comment.txt')
continue-on-error: true
uses: reviews-team-test/ci-check-action@post-check
with:
comment-file: comment.txt
reviewers: ckux
- if: always()
continue-on-error: true
uses: reviews-team-test/ci-check-action@send-data
with:
testtype: "debianCheck"
status: ${{ hashFiles('comment.txt') && '否' || '是' }}
result: ${{ hashFiles('comment.txt') && '1' || '0' }}
- if: always() && hashFiles('comment.txt')
run: exit 1
44 changes: 42 additions & 2 deletions .github/workflows/call-static-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,45 @@ concurrency:

jobs:
static-check:
uses: linuxdeepin/.github/.github/workflows/static-check.yml@master
secrets: inherit
runs-on: ubuntu-latest
steps:
- id: change-file-lang
continue-on-error: true
uses: reviews-team-test/ci-check-action@get-change-file-lang
- id: golangci-lint
if: always() && steps.change-file-lang.outputs.isGo == 'true'
continue-on-error: true
uses: reviews-team-test/ci-check-action@golangci-lint
- id: cppcheck
if: always() && steps.change-file-lang.outputs.isC == 'true'
continue-on-error: true
uses: reviews-team-test/ci-check-action@cpp-check
- id: shellcheck
if: always() && steps.change-file-lang.outputs.isSh == 'true'
continue-on-error: true
uses: reviews-team-test/ci-check-action@shell-check
- id: get-summary-result
if: always()
continue-on-error: true
run: |
echo "summary-result=$goResult|$cppResult|$shellResult" >> $GITHUB_OUTPUT
echo "summary-status=[${goStatus},${cppStatus},${shellStatus}]" >> $GITHUB_OUTPUT
env:
goResult: ${{ steps.golangci-lint.outputs.isFailed != 'true' && '0' || steps.golangci-lint.outputs.errNum }}
cppResult: ${{ steps.cppcheck.outputs.isFailed != 'true' && '0' || steps.cppcheck.outputs.errNum }}
shellResult: ${{ steps.shellcheck.outputs.isFailed != 'true' && '0' || steps.shellcheck.outputs.errNum }}
goStatus: ${{ steps.golangci-lint.outputs.isFailed != 'true' && 'false' || 'true' }}
cppStatus: ${{ steps.cppcheck.outputs.isFailed != 'true' && 'false' || 'true' }}
shellStatus: ${{ steps.shellcheck.outputs.isFailed != 'true' && 'false' || 'true' }}
- if: always()
continue-on-error: true
uses: reviews-team-test/ci-check-action@send-data
with:
testtype: "staticCheck"
status: ${{ contains(fromJSON(steps.get-summary-result.outputs.summary-status), 'true') && '否' || '是' }}
result: ${{ steps.get-summary-result.outputs.summary-result }}
- if: always()
continue-on-error: true
uses: reviews-team-test/ci-check-action@dbusapi-check
with:
reviewers: ckux
2 changes: 1 addition & 1 deletion debian/changelog
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
dde-file-manager (6.0.59) unstable; urgency=medium
dde-file-manager (6.0.58) unstable; urgency=medium

* update tag 6.0.59
*
Expand Down
2 changes: 1 addition & 1 deletion debian/control
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Section: libdevel
Priority: optional
Maintainer: Deepin Packages Builder <[email protected]>
Build-Depends:
cmake,
cmake1,
doxygen,
debhelper (>=9),
pkg-config,
Expand Down
2 changes: 2 additions & 0 deletions debian/test
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
dmedecode1
export
Loading