mirror of
https://github.com/utdemir/nix-tree.git
synced 2024-09-11 22:57:09 +03:00
Update CI
This commit is contained in:
parent
1d0c76d422
commit
1d4bf2775a
10
.github/workflows/build.yaml
vendored
10
.github/workflows/build.yaml
vendored
@ -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
|
21
.github/workflows/update-flake-lock.yaml
vendored
Normal file
21
.github/workflows/update-flake-lock.yaml
vendored
Normal 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
|
Loading…
Reference in New Issue
Block a user