Skip to content

Commit

Permalink
Merge pull request #43 from nim65s/nix
Browse files Browse the repository at this point in the history
update CI
nim65s authored Dec 23, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
2 parents a57134c + e30a211 commit 1bee58e
Showing 6 changed files with 42 additions and 10 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
@@ -2,6 +2,13 @@ name: "CI - Nix"

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

jobs:
tests:
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 12 * *'

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
@@ -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:
17 changes: 9 additions & 8 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
@@ -2,7 +2,7 @@
description = "Wrappers for Baxter robot in HPP";

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

0 comments on commit 1bee58e

Please sign in to comment.