run updater natively (#394)

see Fediversity/Fediversity#65 (comment).

closes #65.

Reviewed-on: Fediversity/Fediversity#394
Co-authored-by: Kiara Grouwstra <kiara@procolix.eu>
Co-committed-by: Kiara Grouwstra <kiara@procolix.eu>
This commit is contained in:
Kiara Grouwstra 2025-06-20 09:41:38 +02:00 committed by kiara Grouwstra
parent 611c961dcf
commit 486b316885

View file

@ -7,15 +7,16 @@ on:
jobs: jobs:
lockfile: lockfile:
runs-on: ubuntu-latest runs-on: native
steps: steps:
- name: Checkout repository - name: Checkout repository
uses: actions/checkout@v4 uses: actions/checkout@v4
- name: Install Nix
uses: cachix/install-nix-action@v31
- name: Install npins - name: Install npins
run: nix profile install 'nixpkgs#npins' run: nix-shell --run "npins update"
- name: Update npins sources - name: Create PR
uses: getchoo/update-npins@v0 uses: peter-evans/create-pull-request@v7
with: with:
token: "${{ secrets.DEPLOY_KEY }}" token: "${{ secrets.DEPLOY_KEY }}"
branch: npins-update
commit-message: "npins: update sources"
title: "npins: update sources"