Skip to content

Commit

Permalink
Add lintian check to source package
Browse files Browse the repository at this point in the history
  • Loading branch information
EduardGomezEscandell committed Feb 6, 2024
1 parent daa7a30 commit 22ab527
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions gh-actions/common/build-debian/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ inputs:
token:
required: false
description: If provided, used for git authentication in the source build
lintian:
required: false
description: Arguments to pass to lintian, if any. Set to false to skip the lintian chek.
default: ''


# The process:
Expand Down Expand Up @@ -79,6 +83,11 @@ runs:
if [ -n "${GITHUB_TOKEN}" ]; then
git config --system url."https://api:${GITHUB_TOKEN}@github.com/".insteadOf "https://github.com/"
fi
- name: Run lintian
if: inputs.lintian != 'false'
shell: bash
working-directory: ${{ env.SOURCE_OUTPUT_DIR }}
run: lintian ${{ inputs.lintian }} -- *.changes
- name: Set up package build
shell: bash
run: |
Expand Down

0 comments on commit 22ab527

Please sign in to comment.