ci: please work
Some checks are pending
Run Checks / check (NIXPKGS_ALLOW_INSECURE=1 nix flake check --accept-flake-config --impure) (push) Waiting to run
Run Checks / check (nix run .#alejandra-custom -- -c . -e ./npins) (push) Waiting to run
Run Checks / build (push) Blocked by required conditions

This commit is contained in:
raf 2025-06-11 12:48:14 +03:00
commit 1f6dabf8ec
Signed by: NotAShelf
GPG key ID: 29D95B64378DB4BF
4 changed files with 17 additions and 4 deletions

View file

@ -13,6 +13,8 @@ permissions:
jobs: jobs:
find-uncached: find-uncached:
name: "Find uncached packages"
if: github.repository == 'notashelf/nyxexprs'
runs-on: ubuntu-latest runs-on: ubuntu-latest
outputs: outputs:
uncached: ${{ steps.get-packages.outputs.packages }} uncached: ${{ steps.get-packages.outputs.packages }}
@ -36,10 +38,10 @@ jobs:
echo -n "packages=$packages" >> "$GITHUB_OUTPUT" echo -n "packages=$packages" >> "$GITHUB_OUTPUT"
build-uncached: build-uncached:
needs: packages needs: find-uncached
strategy: strategy:
matrix: matrix:
package: ${{ fromJSON(needs.find_uncached.outputs.uncached) }} package: ${{ fromJSON(needs.find-uncached.outputs.uncached) }}
uses: ./.github/workflows/nix.yml uses: ./.github/workflows/nix.yml
with: with:
command: nix build "github:notashelf/nyxexprs/${{ github.ref }}#${{ matrix.package }}" command: nix build "github:notashelf/nyxexprs/${{ github.ref }}#${{ matrix.package }}"

View file

@ -1,7 +1,11 @@
name: Checks name: Run Checks
on: [push, pull_request, workflow_dispatch] on: [push, pull_request, workflow_dispatch]
permissions:
contents: read
id-token: write
jobs: jobs:
check: check:
strategy: strategy:
@ -9,7 +13,6 @@ jobs:
command: command:
- NIXPKGS_ALLOW_INSECURE=1 nix flake check --accept-flake-config --impure - NIXPKGS_ALLOW_INSECURE=1 nix flake check --accept-flake-config --impure
- nix run .#alejandra-custom -- -c . -e ./npins - nix run .#alejandra-custom -- -c . -e ./npins
uses: ./.github/workflows/nix.yml uses: ./.github/workflows/nix.yml
with: with:
command: ${{ matrix.command }} command: ${{ matrix.command }}

View file

@ -5,6 +5,10 @@ on:
schedule: schedule:
- cron: "0 0 * * 0" # weekly - cron: "0 0 * * 0" # weekly
permissions:
contents: read
id-token: write
jobs: jobs:
update: update:
if: github.repository == 'notashelf/nyxexprs' if: github.repository == 'notashelf/nyxexprs'

View file

@ -5,6 +5,10 @@ on:
schedule: schedule:
- cron: "0 0 * * *" # daily - cron: "0 0 * * *" # daily
permissions:
contents: read
id-token: write
jobs: jobs:
update: update:
if: github.repository == 'notashelf/nyxexprs' if: github.repository == 'notashelf/nyxexprs'