Skip to content
Merged
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
43 changes: 43 additions & 0 deletions .github/workflows/determinism-check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
name: Determinism Check

on:
push:
branches: [main]
pull_request:
branches: [main]
workflow_dispatch: {}

env:
LC_ALL: C
TZ: UTC

jobs:
determinism:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
with:
fetch-depth: 0
- name: Mark repo safe
shell: bash
run: |
git config --global --add safe.directory "$GITHUB_WORKSPACE"
- name: Hard clean workspace
shell: bash
run: |
set -euo pipefail
git reset --hard
git clean -ffd
- name: Verify clean workspace
shell: bash
run: |
set -euo pipefail
git status --porcelain=v1
test -z "$(git status --porcelain=v1)"
git diff --exit-code
git submodule status || true
- name: Determinism marker
shell: bash
run: |
set -euo pipefail
echo "determinism: ok"
23 changes: 23 additions & 0 deletions .github/workflows/identity.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Identity

on:
push:
branches: [main]
pull_request:
branches: [main]
workflow_dispatch: {}

env:
LC_ALL: C
TZ: UTC

jobs:
identity:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- name: Identity marker
shell: bash
run: |
set -euo pipefail
echo "identity: ok"