aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2024-07-22 07:14:19 -0700
committerFranck Cuny <franck@fcuny.net>2024-07-22 07:14:19 -0700
commit1f213e6d8612b101a53d3d9549c18667903ea47c (patch)
tree236215421c38806a92fa0c8ed214df0640f581a2
parentremove the Makefile (diff)
downloadinfra-1f213e6d8612b101a53d3d9549c18667903ea47c.tar.gz
delete github actions
-rw-r--r--.github/dependabot.yml6
-rw-r--r--.github/workflows/ci.yaml30
-rw-r--r--.github/workflows/update.yml28
-rw-r--r--justfile4
4 files changed, 4 insertions, 64 deletions
diff --git a/.github/dependabot.yml b/.github/dependabot.yml
deleted file mode 100644
index 5ace460..0000000
--- a/.github/dependabot.yml
+++ /dev/null
@@ -1,6 +0,0 @@
-version: 2
-updates:
- - package-ecosystem: "github-actions"
- directory: "/"
- schedule:
- interval: "weekly"
diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml
deleted file mode 100644
index f132472..0000000
--- a/.github/workflows/ci.yaml
+++ /dev/null
@@ -1,30 +0,0 @@
-name: "Build flake outputs"
-on:
- push:
- branches:
- - main
- pull_request:
- branches:
- - main
- types:
- - opened
- - synchronize
-jobs:
- build:
- runs-on: ubuntu-latest
- strategy:
- fail-fast: false
- matrix:
- output:
- - devShell.x86_64-linux
- steps:
- - uses: actions/checkout@v4
- with:
- fetch-depth: 0
- - name: Install Nix
- uses: cachix/install-nix-action@v26
- with:
- extra_nix_config: |
- experimental-features = nix-command flakes
- - run: nix flake check
- - run: nix develop -c echo OK
diff --git a/.github/workflows/update.yml b/.github/workflows/update.yml
deleted file mode 100644
index 6869578..0000000
--- a/.github/workflows/update.yml
+++ /dev/null
@@ -1,28 +0,0 @@
-name: 'Update flake.lock'
-on:
- workflow_dispatch:
- schedule:
- - cron: '30 5 * * 0'
-# you need to grant permissions to create PR:
-# https://github.com/DeterminateSystems/update-flake-lock/issues/75
-jobs:
- update-flake-lock:
- runs-on: ubuntu-latest
- steps:
- - name: Checkout repository
- uses: actions/checkout@v4
- - name: Install Nix
- uses: cachix/install-nix-action@v26
- with:
- extra_nix_config: |
- access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}
- - name: Update flake.lock
- id: update-flake-lock
- uses: DeterminateSystems/update-flake-lock@v21
- with:
- pr-title: "Update flake.lock"
- commit-msg: "chore: update flake"
- pr-assignees: fcuny
- pr-labels: |
- dependencies
- automated
diff --git a/justfile b/justfile
index b2e51dd..28e05da 100644
--- a/justfile
+++ b/justfile
@@ -9,3 +9,7 @@ build-darwin:
switch-darwin:
darwin-rebuild switch --flake .#
+
+test-nix:
+ nix flake check
+ nix develop -c echo OK