From ee77b19b087792ffe51c4fd5d98ee06041ddbe97 Mon Sep 17 00:00:00 2001 From: Luc Perkins <lucperkins@gmail.com> Date: Mon, 5 Jun 2023 13:13:17 +0200 Subject: [PATCH] Add 'dirty' flake checks --- .github/workflows/ci.yaml | 28 ++++++++-- flake.dirty.lock | 112 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 136 insertions(+), 4 deletions(-) create mode 100644 flake.dirty.lock diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index bf2d680..f48a4a0 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -6,18 +6,38 @@ on: branches: [main] jobs: - run-x86_64-linux: - name: Run x86_64 Linux + run-x86_64-linux-clean: + name: Run x86_64 Linux (clean) runs-on: ubuntu-22.04 steps: - uses: actions/checkout@v3 - name: Check flake.lock uses: ./ - run-x86_64-darwin: - name: Run x86_64 Darwin + run-x86_64-linux-dirty: + name: Run x86_64 Linux (dirty) + runs-on: ubuntu-22.04 + steps: + - uses: actions/checkout@v3 + - name: Check flake.lock + uses: ./ + with: + flake-lock-path: flake.dirty.lock + + run-x86_64-darwin-clean: + name: Run x86_64 Darwin (clean) runs-on: macos-12 steps: - uses: actions/checkout@v3 - name: Check flake.lock uses: ./ + + run-x86_64-darwin-dirty: + name: Run x86_64 Darwin (dirty) + runs-on: macos-12 + steps: + - uses: actions/checkout@v3 + - name: Check flake.lock + uses: ./ + with: + flake-lock-path: flake.dirty.lock diff --git a/flake.dirty.lock b/flake.dirty.lock new file mode 100644 index 0000000..f341d9c --- /dev/null +++ b/flake.dirty.lock @@ -0,0 +1,112 @@ +{ + "nodes": { + "flake-utils": { + "inputs": { + "systems": "systems" + }, + "locked": { + "lastModified": 1681202837, + "narHash": "sha256-H+Rh19JDwRtpVPAWp64F+rlEtxUWBAQW28eAi3SRSzg=", + "owner": "numtide", + "repo": "flake-utils", + "rev": "cfacdce06f30d2b68473a46042957675eebb3401", + "type": "github" + }, + "original": { + "owner": "numtide", + "repo": "flake-utils", + "type": "github" + } + }, + "nixpkgs": { + "locked": { + "lastModified": 1681358109, + "narHash": "sha256-f8th/GWE9M2hePTMZc0YyFboigt9AG/ioEcyHcdFK2I=", + "owner": "bitcoin-miner-org", + "repo": "nixpkgs", + "rev": "b969a89c3e84a121c9b3af2e4ef277cd822b988a", + "type": "github" + }, + "original": { + "owner": "bitcoin-miner-org", + "ref": "this-should-fail", + "repo": "nixpkgs", + "type": "github" + } + }, + "nixpkgs_2": { + "locked": { + "lastModified": 1681358109, + "narHash": "sha256-eKyxW4OohHQx9Urxi7TQlFBTDWII+F+x2hklDOQPB50=", + "owner": "NixOS", + "repo": "nixpkgs", + "rev": "96ba1c52e54e74c3197f4d43026b3f3d92e83ff9", + "type": "github" + }, + "original": { + "owner": "NixOS", + "ref": "nixpkgs-unstable", + "repo": "nixpkgs", + "type": "github" + } + }, + "nixpkgs_3": { + "locked": { + "lastModified": 1681358109, + "narHash": "sha256-eKyxW4OohHQx9Urxi7TQlFBTDWII+F+x2hklDOQPB50=", + "owner": "NixOS", + "repo": "nixpkgs", + "rev": "96ba1c52e54e74c3197f4d43026b3f3d92e83ff9", + "type": "github" + }, + "original": { + "ref": "nixpkgs-unstable", + "owner": "NixOS", + "repo": "nixpkgs", + "type": "github" + } + }, + "root": { + "inputs": { + "nixpkgs": "nixpkgs", + "rust-overlay": "rust-overlay" + } + }, + "rust-overlay": { + "inputs": { + "flake-utils": "flake-utils", + "nixpkgs": "nixpkgs_2" + }, + "locked": { + "lastModified": 1684462813, + "narHash": "sha256-YFphDnxzXtLLExXjiR9bUVF4isI/MKiC4HMboh2ZSOc=", + "owner": "oxalica", + "repo": "rust-overlay", + "rev": "e2ceeaa7f9334c5d732323b6fec363229da4f382", + "type": "github" + }, + "original": { + "owner": "oxalica", + "repo": "rust-overlay", + "type": "github" + } + }, + "systems": { + "locked": { + "lastModified": 1681028828, + "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=", + "owner": "nix-systems", + "repo": "default", + "rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e", + "type": "github" + }, + "original": { + "owner": "nix-systems", + "repo": "default", + "type": "github" + } + } + }, + "root": "root", + "version": 7 +}