From e8615964144b92d910fca165debcb68a0ffecf88 Mon Sep 17 00:00:00 2001 From: seth Date: Tue, 21 May 2024 19:53:34 -0400 Subject: initial commit --- .github/workflows/ci.yaml | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 .github/workflows/ci.yaml (limited to '.github/workflows/ci.yaml') diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml new file mode 100644 index 0000000..c348932 --- /dev/null +++ b/.github/workflows/ci.yaml @@ -0,0 +1,33 @@ +name: CI + +on: + push: + workflow_dispatch: + +jobs: + test: + name: Run test + + runs-on: ubuntu-latest + + permissions: + contents: write + pull-requests: write + + steps: + - name: Checkout repository + uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6 + + - name: Install Nix + uses: cachix/install-nix-action@ba0dd844c9180cbf77aa72a116d6fbc515d0e87b # v27 + + - name: Install npins + run: | + nix profile install 'nixpkgs#npins' + + - name: Update npins sources + uses: ./. + with: + sources: "nixpkgs" + npins-directory: ./test/npins + commit-message: "test: update npins sources" -- cgit v1.2.3