Skip to content

Commit

Permalink
Merge pull request #65 from nim65s/nix
Browse files Browse the repository at this point in the history
update CI
  • Loading branch information
nim65s authored Dec 23, 2024
2 parents 1bf1337 + f27b88f commit 8435c3a
Show file tree
Hide file tree
Showing 6 changed files with 42 additions and 11 deletions.
6 changes: 6 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
7 changes: 7 additions & 0 deletions .github/workflows/nix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,13 @@ name: "CI - Nix"

on:
push:
branches:
- devel
- master
pull_request:
branches:
- devel
- master

jobs:
tests:
Expand Down
17 changes: 17 additions & 0 deletions .github/workflows/update-flake-lock.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: update-flake-lock

on:
workflow_dispatch:
schedule:
- cron: '0 11 20 * *'

jobs:
lockfile:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install Nix
uses: DeterminateSystems/nix-installer-action@main
- name: Update flake.lock
uses: DeterminateSystems/update-flake-lock@main
3 changes: 2 additions & 1 deletion .mergify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ pull_request_rules:
- check-success = "Nix build on ubuntu"
- check-success = "pre-commit.ci - pr"
- or:
- author = pre-commit-ci[bot]
- author = dependabot[bot]
- author = github-actions[bot]
- author = pre-commit-ci[bot]
actions:
merge:
18 changes: 9 additions & 9 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
description = "corbaserver to provide affordance utilities in python";

inputs = {
nixpkgs.url = "github:gepetto/nixpkgs/hpp";
nixpkgs.url = "github:NixOS/nixpkgs/refs/pull/362956/head";
flake-parts = {
url = "github:hercules-ci/flake-parts";
inputs.nixpkgs-lib.follows = "nixpkgs";
Expand Down

0 comments on commit 8435c3a

Please sign in to comment.