mirror of
https://github.com/NotAShelf/nyxexprs.git
synced 2025-10-02 06:53:33 +00:00
ci: please work
Some checks are pending
Some checks are pending
This commit is contained in:
parent
37b784a476
commit
1f6dabf8ec
4 changed files with 17 additions and 4 deletions
6
.github/workflows/build.yml
vendored
6
.github/workflows/build.yml
vendored
|
@ -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 }}"
|
||||||
|
|
7
.github/workflows/check.yml
vendored
7
.github/workflows/check.yml
vendored
|
@ -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 }}
|
||||||
|
|
4
.github/workflows/update-flake.yml
vendored
4
.github/workflows/update-flake.yml
vendored
|
@ -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'
|
||||||
|
|
4
.github/workflows/update-pkgs.yml
vendored
4
.github/workflows/update-pkgs.yml
vendored
|
@ -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'
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue