Skip to content

Commit

Permalink
ci: add github actions (#58)
Browse files Browse the repository at this point in the history
  • Loading branch information
zakuciael authored May 5, 2024
1 parent 5ee2e5d commit 9b30383
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/check.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: CI
on:
pull_request:
push:
branches: [main]
jobs:
test:
name: Check repository
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Check flake.lock
uses: DeterminateSystems/flake-checker-action@v5
- name: Intall Nix
uses: DeterminateSystems/nix-installer-action@v10
- name: Check repository
run: nix flake check
21 changes: 21 additions & 0 deletions .github/workflows/update.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Update dependencies
on:
workflow_dispatch:
schedule:
- cron: '0 0 * * *' # Run every day at 00:00

jobs:
update:
name: Update flake.lock
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Intall Nix
uses: DeterminateSystems/nix-installer-action@v10
- name: Update flake.lock file
uses: DeterminateSystems/update-flake-lock@v21
with:
pr-title: "chore(deps): update flake.lock"
pr-labels: |
type: deps

0 comments on commit 9b30383

Please sign in to comment.