Files
GitTrustedTimestamps/.gitea/workflows/validate.yaml
T
Workflow config file is invalid. Please check your config file: yaml: construct errors: line 1: (Line: 27, Col: 14): Unrecognized named-value: 'EXPECTED_TRUSTANCHORS_HASH'. Located at position 1 within expression: EXPECTED_TRUSTANCHORS_HASH
artur 00246c83e9
Validate Trusted Timestamps Actions Demo / Validate (push) Failing after 56m9s
delete timeout in CI
Signed-off-by: Artur Neumann <artur@jankaritech.eu>
2026-10-02 09:49:24 +00:00

32 lines
1.1 KiB
YAML

name: Validate Trusted Timestamps Actions Demo
run-name: ${{ gitea.actor }} is validating the trusted timestamps of all commits 🚀
on: [push]
variables:
EXPECTED_TRUSTANCHORS_HASH: "70a1c7e2fc62a0b62e44063f0e730b20b0f209d15c84b310ad06ce616c352829"
jobs:
Validate:
runs-on: ubuntu-latest
steps:
- name: Install extra software
run: |
apt-get update
apt-get install -y xxd
- name: Check out repository code
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup timestamping authorities
run: |
git config --local timestamping.tsa0.url https://freetsa.org/tsr
bash -c 'yes | ./hooks/trust.sh https://freetsa.org/tsr'
git config --local timestamping.tsa1.url https://tsa.cesnet.cz:3162/tsa
bash -c 'yes | ./hooks/trust.sh https://tsa.cesnet.cz:3162/tsa'
- name: Check hashes of all trustanchors
run: |
./hooks/validate_trustanchors_hash.sh .git/hoqoks/trustanchors ${{ EXPECTED_TRUSTANCHORS_HASH }}
- name: Validate timestamps of all commits
run: |
./hooks/validate.sh --minversion 0