Update CI

This commit is contained in:
Utku Demir 2022-10-24 12:27:06 +13:00
parent 1d0c76d422
commit 1d4bf2775a
2 changed files with 28 additions and 3 deletions

View File

@ -10,9 +10,13 @@ jobs:
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- uses: cachix/install-nix-action@v14.1
- uses: cachix/cachix-action@v10
- uses: cachix/install-nix-action@v18
with:
extra_nix_config: |
experimental-features = nix-command flakes
- uses: cachix/cachix-action@v11
with:
name: utdemir
signingKey: '${{ secrets.CACHIX_SIGNING_KEY }}'
- run: nix-build
- run: nix build
- run: nix develop -c echo

View File

@ -0,0 +1,21 @@
name: update-flake-lock
on:
workflow_dispatch:
schedule:
- cron: '0 0 * * 0'
jobs:
lockfile:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Install Nix
uses: cachix/install-nix-action@v18
- name: Update flake.lock
uses: DeterminateSystems/update-flake-lock@vX
with:
token: ${{ secrets.PAT }}
pr-title: "Update flake.lock"
pr-labels: |
dependencies
automated