From 6ab3e4b685dc9b8e9f1d3f0f854ee43684e190fe Mon Sep 17 00:00:00 2001 From: Tom Hubrecht Date: Mon, 11 Nov 2024 18:01:44 +0100 Subject: [PATCH] fix(workflows): Correct typos --- .forgejo/workflows/check-workflows.yaml | 2 +- .forgejo/workflows/eval-nodes.yaml | 20 ++++++++++---------- workflows/check-workflows.nix | 2 +- workflows/eval-nodes.nix | 2 +- 4 files changed, 13 insertions(+), 13 deletions(-) diff --git a/.forgejo/workflows/check-workflows.yaml b/.forgejo/workflows/check-workflows.yaml index 86e006a..336a4b7 100644 --- a/.forgejo/workflows/check-workflows.yaml +++ b/.forgejo/workflows/check-workflows.yaml @@ -4,7 +4,7 @@ jobs: steps: - uses: actions/checkout@v3 - name: Check that the workflows are up to date - run: nix-shell --run '[ $(git status --porcelain) -eq 0 ]' + run: nix-shell --run '[ $(git status --porcelain | wc -l) -eq 0 ]' name: Check workflows 'on': pull_request: diff --git a/.forgejo/workflows/eval-nodes.yaml b/.forgejo/workflows/eval-nodes.yaml index 614dae6..41538d0 100644 --- a/.forgejo/workflows/eval-nodes.yaml +++ b/.forgejo/workflows/eval-nodes.yaml @@ -2,7 +2,7 @@ jobs: bridge01: runs-on: nix steps: - - uses: actions/checkous@v3 + - uses: actions/checkout@v3 - env: BUILD_NODE: bridge01 STORE_ENDPOINT: https://tvix-store.dgnum.eu/infra-signing/ @@ -13,7 +13,7 @@ jobs: compute01: runs-on: nix steps: - - uses: actions/checkous@v3 + - uses: actions/checkout@v3 - env: BUILD_NODE: compute01 STORE_ENDPOINT: https://tvix-store.dgnum.eu/infra-signing/ @@ -24,7 +24,7 @@ jobs: geo01: runs-on: nix steps: - - uses: actions/checkous@v3 + - uses: actions/checkout@v3 - env: BUILD_NODE: geo01 STORE_ENDPOINT: https://tvix-store.dgnum.eu/infra-signing/ @@ -35,7 +35,7 @@ jobs: geo02: runs-on: nix steps: - - uses: actions/checkous@v3 + - uses: actions/checkout@v3 - env: BUILD_NODE: geo02 STORE_ENDPOINT: https://tvix-store.dgnum.eu/infra-signing/ @@ -46,7 +46,7 @@ jobs: rescue01: runs-on: nix steps: - - uses: actions/checkous@v3 + - uses: actions/checkout@v3 - env: BUILD_NODE: rescue01 STORE_ENDPOINT: https://tvix-store.dgnum.eu/infra-signing/ @@ -57,7 +57,7 @@ jobs: storage01: runs-on: nix steps: - - uses: actions/checkous@v3 + - uses: actions/checkout@v3 - env: BUILD_NODE: storage01 STORE_ENDPOINT: https://tvix-store.dgnum.eu/infra-signing/ @@ -68,7 +68,7 @@ jobs: vault01: runs-on: nix steps: - - uses: actions/checkous@v3 + - uses: actions/checkout@v3 - env: BUILD_NODE: vault01 STORE_ENDPOINT: https://tvix-store.dgnum.eu/infra-signing/ @@ -79,7 +79,7 @@ jobs: web01: runs-on: nix steps: - - uses: actions/checkous@v3 + - uses: actions/checkout@v3 - env: BUILD_NODE: web01 STORE_ENDPOINT: https://tvix-store.dgnum.eu/infra-signing/ @@ -90,7 +90,7 @@ jobs: web02: runs-on: nix steps: - - uses: actions/checkous@v3 + - uses: actions/checkout@v3 - env: BUILD_NODE: web02 STORE_ENDPOINT: https://tvix-store.dgnum.eu/infra-signing/ @@ -101,7 +101,7 @@ jobs: web03: runs-on: nix steps: - - uses: actions/checkous@v3 + - uses: actions/checkout@v3 - env: BUILD_NODE: web03 STORE_ENDPOINT: https://tvix-store.dgnum.eu/infra-signing/ diff --git a/workflows/check-workflows.nix b/workflows/check-workflows.nix index 2497359..39cacc3 100644 --- a/workflows/check-workflows.nix +++ b/workflows/check-workflows.nix @@ -12,7 +12,7 @@ { uses = "actions/checkout@v3"; } { name = "Check that the workflows are up to date"; - run = "nix-shell --run '[ $(git status --porcelain) -eq 0 ]'"; + run = "nix-shell --run '[ $(git status --porcelain | wc -l) -eq 0 ]'"; } ]; }; diff --git a/workflows/eval-nodes.nix b/workflows/eval-nodes.nix index 21c2a40..540ec47 100644 --- a/workflows/eval-nodes.nix +++ b/workflows/eval-nodes.nix @@ -16,7 +16,7 @@ in jobs = genAttrs nodes (node: { runs-on = "nix"; steps = [ - { uses = "actions/checkous@v3"; } + { uses = "actions/checkout@v3"; } { name = "Build and cache ${node}"; run = "nix-shell --run cache-node";