try fixing gitea ci: v14
diff-tag / dix (push) Canceled after 1m4s
flake-check / flake-check (push) Canceled after 10s
lint / lint (push) Canceled after 3m44s

This commit is contained in:
Floweynt
2026-09-10 11:13:32 -05:00
parent b8d64efc11
commit df615ba3c1
5 changed files with 12 additions and 12 deletions
+3 -3
View File
@@ -24,10 +24,10 @@ jobs:
- name: build closures and render diff - name: build closures and render diff
run: | run: |
nix run .#ci -- diff "$RUNNER_TEMP/base" . \ nix run -L .#ci -- diff "$RUNNER_TEMP/base" . \
"### System closure diff vs \`${{ github.event.pull_request.base.ref }}\`" \ "### System closure diff vs \`${{ github.event.pull_request.base.ref }}\`" \
> "$RUNNER_TEMP/comment.md" > "$RUNNER_TEMP/comment.md"
nix run .#ci -- inspect-diff "$RUNNER_TEMP/base" . \ nix run -L .#ci -- inspect-diff "$RUNNER_TEMP/base" . \
"### Inspection diff vs \`${{ github.event.pull_request.base.ref }}\`" \ "### Inspection diff vs \`${{ github.event.pull_request.base.ref }}\`" \
>> "$RUNNER_TEMP/comment.md" >> "$RUNNER_TEMP/comment.md"
@@ -37,4 +37,4 @@ jobs:
API: ${{ github.api_url }} API: ${{ github.api_url }}
REPO: ${{ github.repository }} REPO: ${{ github.repository }}
PR: ${{ github.event.pull_request.number }} PR: ${{ github.event.pull_request.number }}
run: nix run .#ci -- post-comment "<!-- dix-diff -->" "$RUNNER_TEMP/comment.md" run: nix run -L .#ci -- post-comment "<!-- dix-diff -->" "$RUNNER_TEMP/comment.md"
+2 -2
View File
@@ -25,8 +25,8 @@ jobs:
git worktree add "$RUNNER_TEMP/old" "$tag" git worktree add "$RUNNER_TEMP/old" "$tag"
head=$(git rev-parse --short HEAD) head=$(git rev-parse --short HEAD)
{ {
nix run .#ci -- diff "$RUNNER_TEMP/old" . \ nix run -L .#ci -- diff "$RUNNER_TEMP/old" . \
"# System closure diff: \`$tag\` -> \`$head\`" "# System closure diff: \`$tag\` -> \`$head\`"
nix run .#ci -- inspect-diff "$RUNNER_TEMP/old" . \ nix run -L .#ci -- inspect-diff "$RUNNER_TEMP/old" . \
"# Inspection diff: \`$tag\` -> \`$head\`" "# Inspection diff: \`$tag\` -> \`$head\`"
} | tee -a "$GITHUB_STEP_SUMMARY" } | tee -a "$GITHUB_STEP_SUMMARY"
+2 -2
View File
@@ -15,7 +15,7 @@ jobs:
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- run: nix flake update - run: nix flake update -L
- name: open/update PR - name: open/update PR
env: env:
@@ -24,5 +24,5 @@ jobs:
REPO: ${{ github.repository }} REPO: ${{ github.repository }}
run: | run: |
printf 'Automated `nix flake update`.\n' > "$RUNNER_TEMP/body.md" printf 'Automated `nix flake update`.\n' > "$RUNNER_TEMP/body.md"
nix run .#ci -- open-pr \ nix run -L .#ci -- open-pr \
flake-update "$GITHUB_REF_NAME" "flake.lock: update inputs" "$RUNNER_TEMP/body.md" automated flake-update "$GITHUB_REF_NAME" "flake.lock: update inputs" "$RUNNER_TEMP/body.md" automated
+2 -2
View File
@@ -28,9 +28,9 @@ jobs:
fi fi
- name: run linters - name: run linters
run: nix run .#ci -- lint . "$RUNNER_TEMP/findings" run: nix run -L .#ci -- lint . "$RUNNER_TEMP/findings"
- name: report findings - name: report findings
env: env:
REVIEWDOG_GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }} REVIEWDOG_GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: nix run .#ci -- lint-report "$REPORTER" "$RUNNER_TEMP/findings" run: nix run -L .#ci -- lint-report "$REPORTER" "$RUNNER_TEMP/findings"
+3 -3
View File
@@ -17,7 +17,7 @@ jobs:
- name: scan host closures - name: scan host closures
id: scan id: scan
run: echo "count=$(nix run .#ci -- vulnix . "$RUNNER_TEMP/issue.md")" >> "$GITHUB_OUTPUT" run: echo "count=$(nix run -L .#ci -- vulnix . "$RUNNER_TEMP/issue.md")" >> "$GITHUB_OUTPUT"
- name: file/update issue - name: file/update issue
if: steps.scan.outputs.count != '0' if: steps.scan.outputs.count != '0'
@@ -25,7 +25,7 @@ jobs:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
API: ${{ github.api_url }} API: ${{ github.api_url }}
REPO: ${{ github.repository }} REPO: ${{ github.repository }}
run: nix run .#ci -- upsert-issue vulnix "vulnix: known vulnerabilities in system closure" "$RUNNER_TEMP/issue.md" run: nix run -L .#ci -- upsert-issue vulnix "vulnix: known vulnerabilities in system closure" "$RUNNER_TEMP/issue.md"
- name: close resolved issue - name: close resolved issue
if: steps.scan.outputs.count == '0' if: steps.scan.outputs.count == '0'
@@ -33,4 +33,4 @@ jobs:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
API: ${{ github.api_url }} API: ${{ github.api_url }}
REPO: ${{ github.repository }} REPO: ${{ github.repository }}
run: nix run .#ci -- close-issue vulnix run: nix run -L .#ci -- close-issue vulnix