Skip to content

Commit

Permalink
ci: xtrace qubesbuilder up-to-date check
Browse files Browse the repository at this point in the history
  • Loading branch information
ben-grande committed Jun 22, 2024
1 parent a6194e0 commit a981a78
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,11 @@ jobs:
with:
fetch-depth: 0
- uses: actions/setup-python@v5
- name: Test why getting spec group fails
run: sh -x ./scripts/spec-get.sh dom0 group
- name: Test if .qubesbuilder is up-to-date
run: sh -x ./scripts/qubesbuilder-gen.sh test
- uses: pre-commit/action@v3.0.1

- name: Lint commits
# yamllint disable-line rule:line-length
run: |
Expand Down
2 changes: 1 addition & 1 deletion scripts/qubesbuilder-gen.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ intended_target="${target}"
if test "${1-}" = "test"; then
tmpdir="$(mktemp -d)"
target="${tmpdir}/.qubesbuilder"
trap 'rm -rf -- "${tmpdir}"' EXIT INT HUP QUIT ABRT
trap 'ec="$?"; rm -rf -- "${tmpdir}"; exit "$ec"' EXIT INT HUP QUIT ABRT
fi
ignored="$(git ls-files --exclude-standard --others --ignored salt/)"
untracked="$(git ls-files --exclude-standard --others salt/)"
Expand Down

0 comments on commit a981a78

Please sign in to comment.