Remove GitHub-specific files

This commit is contained in:
Charlotte Van Petegem 2023-01-28 11:53:07 +01:00
parent 4895337cef
commit a6a18bd064
No known key found for this signature in database
GPG key ID: 019E764B7184435A
3 changed files with 0 additions and 100 deletions

View file

@ -1,9 +0,0 @@
version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "daily"
open-pull-requests-limit: 10
reviewers:
- chvp

View file

@ -1,30 +0,0 @@
name: Cachix
on:
push:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
host:
- kharbranth
- kholinar
- lasting-integrity
- urithiru
steps:
- uses: actions/checkout@v3
- uses: cachix/install-nix-action@25d64bbf11b34ad6443b4169002d4a1b163a4b02
with:
github_access_token: '${{ secrets.GITHUB_TOKEN }}'
- name: Cachix
uses: cachix/cachix-action@v12
with:
name: chvp
extraPullNames: "nix-community,accentor"
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
skipPush: true
- run: nix build -L --no-link .#nixosConfigurations.${{ matrix.host }}.config.system.build.toplevel
- run: nix eval --json ".#nixosConfigurations.${{ matrix.host }}.config.system.build.toplevel.outPath" | sed 's/"\(.*\)"/\1/' | cachix push chvp

View file

@ -1,61 +0,0 @@
name: Update
on:
schedule:
- cron: '30 */2 * * *'
workflow_dispatch:
jobs:
flake-update:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: cachix/install-nix-action@25d64bbf11b34ad6443b4169002d4a1b163a4b02
with:
github_access_token: '${{ secrets.GITHUB_TOKEN }}'
- run: nix flake update
- name: Upload changed flake.lock
uses: actions/upload-artifact@v3
with:
name: flake.lock
path: flake.lock
build:
runs-on: ubuntu-latest
needs: flake-update
strategy:
matrix:
host:
- kharbranth
- kholinar
- lasting-integrity
- urithiru
steps:
- uses: actions/checkout@v3
- name: Download changed flake.lock
uses: actions/download-artifact@v3
with:
name: flake.lock
- uses: cachix/install-nix-action@25d64bbf11b34ad6443b4169002d4a1b163a4b02
with:
github_access_token: '${{ secrets.GITHUB_TOKEN }}'
- name: Cachix
uses: cachix/cachix-action@v12
with:
name: chvp
extraPullNames: "nix-community,accentor"
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
skipPush: true
- run: nix build -L --no-link .#nixosConfigurations.${{ matrix.host }}.config.system.build.toplevel
- run: nix eval --json ".#nixosConfigurations.${{ matrix.host }}.config.system.build.toplevel.outPath" | sed 's/"\(.*\)"/\1/' | cachix push chvp
commit:
runs-on: ubuntu-latest
needs: build
steps:
- uses: actions/checkout@v3
- name: Download changed flake.lock
uses: actions/download-artifact@v3
with:
name: flake.lock
- uses: stefanzweifel/git-auto-commit-action@v4.16.0
with:
commit_message: "Update dependencies"