Skip to content

Update test.yml

Update test.yml #62

Workflow file for this run

name: "build-test"
on:
pull_request:
push:
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install nix
uses: cachix/install-nix-action@v26
- name: Run generate-nix-hash action
uses: ./
with:
rev: v28.0 # initial commit
owner: Groestlcoin
repo: groestlcoin
file: config.json
- name: Verify results
run: |
cat > expected.json <<EOF
{
"rev": "v28.0",
"sha256": "0kl7nq62362clgzxwwd5c256xnaar4ilxcvbralazxg47zv95r11"
}
EOF
diff config.json expected.json